All 101 registers by peripheral, at their data-space address (the I/O address IN and OUT use is shown beside it), with their reset value and every bit.
ADC Analog-to-Digital Converter
ADCSRBADC Control and Status Register B
Address
0x24 I/O 0x04
Reset
0x00
Access
read/write
7–
6–
5–
4–
3ADLAR
2ADTS2
1ADTS1
0ADTS0
2 fields
Field
Bits
What it does
ADLAR
3
ADTS
2:0
ADC Auto Trigger Sources
0 Free Running mode
1 Analog Comparator 0
2 External Interrupt Request 0
3 Timer/Counter0 Compare Match A
4 Timer/Counter0 Overflow
5 Timer/Counter1 Compare Match A
6 Timer/Counter1 Overflow
7 Timer/Counter1 Capture Event
ADCSRAThe ADC Control and Status register
Address
0x25 I/O 0x05
Reset
0x00
Access
read/write
7ADEN
6ADSC
5ADATE
4ADIF
3ADIE
2ADPS2
1ADPS1
0ADPS0
6 fields
Field
Bits
What it does
ADEN
7
ADC Enable
ADSC
6
ADC Start Conversion
ADATE
5
ADC Auto Trigger Enable
ADIF
4
ADC Interrupt Flag
ADIE
3
ADC Interrupt Enable
ADPS
2:0
ADC Prescaler Select Bits
0 2
1 2
2 4
3 8
4 16
5 32
6 64
7 128
ADCADC Data Register Bytes
Address
0x26 I/O 0x06
Reset
0x0000
Access
read/write
Size
16-bit
ADMUXBThe ADC multiplexer Selection Register B
Address
0x28 I/O 0x08
Reset
0x00
Access
read/write
7REFS2
6REFS1
5REFS0
4–
3–
2–
1GSEL1
0GSEL0
2 fields
Field
Bits
What it does
REFS
7:5
Reference Selection Bits
GSEL
1:0
Gain Selection Bits
ADMUXAThe ADC multiplexer Selection Register A
Address
0x29 I/O 0x09
Reset
0x00
Access
read/write
7–
6–
5MUX5
4MUX4
3MUX3
2MUX2
1MUX1
0MUX0
1 field
Field
Bits
What it does
MUX
5:0
Analog Channel and Gain Selection Bits
DIDR0Digital Input Disable Register 0
Address
0x60
Reset
0x00
Access
read/write
7ADC7D
6ADC6D
5ADC5D
4ADC4D
3ADC3D
2ADC2D
1ADC1D
0ADC0D
8 fields
Field
Bits
What it does
ADC7D
7
ADC7 Digital input Disable
ADC6D
6
ADC6 Digital input Disable
ADC5D
5
ADC5 Digital input Disable
ADC4D
4
ADC4/AIN11 Digital input Disable
ADC3D
3
ADC3/AIN10 Digital Input Disable
ADC2D
2
ADC2/AIN01 Digital input Disable
ADC1D
1
ADC1/AIN00 Digital input Disable
ADC0D
0
ADC0/AREF Digital input Disable
DIDR1Digital Input Disable Register 1
Address
0x61
Reset
0x00
Access
read/write
7–
6–
5–
4–
3ADC9D
2ADC8D
1ADC10D
0ADC11D
4 fields
Field
Bits
What it does
ADC9D
3
ADC9 Digital Input Disable
ADC8D
2
ADC8 Digital input Disable
ADC10D
1
ADC10 Digital input Disable
ADC11D
0
ADC11 Digital input Disable
AC Analog Comparator
ACSR0AAnalog Comparator 0 Control And Status Register A
Address
0x2A I/O 0x0A
Reset
0x00
Access
read/write
7ACD0
6ACPMUX2
5ACO0
4ACI0
3ACIE0
2ACIC0
1ACIS01
0ACIS00
7 fields
Field
Bits
What it does
ACD0
7
Analog Comparator 0 Disable
ACPMUX2
6
Analog Comparator 0 Positive Input Multiplexer Bit 2
ACO0
5
Analog Comparator 0 Output
ACI0
4
Analog Comparator 0 Interrupt Flag
ACIE0
3
Analog Comparator 0 Interrupt Enable
ACIC0
2
Analog Comparator 0 Input Capture Enable
ACIS0
1:0
Analog Comparator 0 Interrupt Mode Select bits
0 Interrupt on Toggle
1 Reserved
2 Interrupt on Falling Edge
3 Interrupt on Rising Edge
ACSR0BAnalog Comparator 0 Control And Status Register B
Address
0x2B I/O 0x0B
Reset
0x00
Access
read/write
7HSEL0
6HLEV0
5–
4ACOE0
3ACNMUX1
2ACNMUX0
1ACPMUX1
0ACPMUX0
5 fields
Field
Bits
What it does
HSEL0
7
Analog Comparator 0 Hysteresis Select
HLEV0
6
Analog Comparator 0 Hysteresis Level
ACOE0
4
Analog Comparator 0 Output Pin Enable
ACNMUX
3:2
Analog Comparator 0 Negative Input Multiplexer
ACPMUX
1:0
Analog Comparator 0 Positive Input Multiplexer Bits 1:0
ACSR1AAnalog Comparator 1 Control And Status Register A
Address
0x2C I/O 0x0C
Reset
0x00
Access
read/write
7ACD1
6ACBG1
5ACO1
4ACI1
3ACIE1
2ACIC1
1ACIS11
0ACIS10
7 fields
Field
Bits
What it does
ACD1
7
Analog Comparator 1 Disable
ACBG1
6
Analog Comparator 1 Bandgap Select
ACO1
5
Analog Comparator 1 Output
ACI1
4
Analog Comparator 1 Interrupt Flag
ACIE1
3
Analog Comparator 1 Interrupt Enable
ACIC1
2
Analog Comparator 1 Input Capture Enable
ACIS1
1:0
Analog Comparator 1 Interrupt Mode Select bits
0 Interrupt on Toggle
1 Reserved
2 Interrupt on Falling Edge
3 Interrupt on Rising Edge
ACSR1BAnalog Comparator 1 Control And Status Register B
Address
0x2D I/O 0x0D
Reset
0x00
Access
read/write
7HSEL1
6HLEV1
5–
4ACOE1
3–
2ACME1
1–
0–
4 fields
Field
Bits
What it does
HSEL1
7
Analog Comparator 1 Hysteresis Select
HLEV1
6
Analog Comparator 1 Hysteresis Level
ACOE1
4
Analog Comparator 1 Output Pin Enable
ACME1
2
Analog Comparator 1 Multiplexer Enable
TC1 Timer/Counter, 16-bit
TIFR1Timer/Counter Interrupt Flag register
Address
0x2E I/O 0x0E
Reset
0x00
Access
read/write
7–
6–
5ICF1
4–
3–
2OCF1B
1OCF1A
0TOV1
4 fields
Field
Bits
What it does
ICF1
5
Timer/Counter1 Input Capture Flag
OCF1B
2
Timer/Counter1 Output Compare B Match Flag
OCF1A
1
Timer/Counter1 Output Compare A Match Flag
TOV1
0
Timer/Counter1 Overflow Flag
TIMSK1Timer/Counter1 Interrupt Mask Register
Address
0x2F I/O 0x0F
Reset
0x00
Access
read/write
7–
6–
5ICIE1
4–
3–
2OCIE1B
1OCIE1A
0TOIE1
4 fields
Field
Bits
What it does
ICIE1
5
Timer/Counter1 Input Capture Interrupt Enable
OCIE1B
2
Timer/Counter1 Output Compare B Match Interrupt Enable
OCIE1A
1
Timer/Counter1 Output Compare A Match Interrupt Enable
TOIE1
0
Timer/Counter1 Overflow Interrupt Enable
TCCR1CTimer/Counter1 Control Register C
Address
0x42 I/O 0x22
Reset
0x00
Access
read/write
7FOC1A
6FOC1B
5–
4–
3–
2–
1–
0–
2 fields
Field
Bits
What it does
FOC1A
7
Force Output Compare for Channel A
FOC1B
6
Force Output Compare for Channel B
GTCCRGeneral Timer/Counter Control Register
Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
7TSM
6–
5–
4–
3–
2–
1–
0PSR
2 fields
Field
Bits
What it does
TSM
7
Timer/Counter Synchronization Mode
PSR
0
Prescaler Reset Timer/CounterN
ICR1Timer/Counter1 Input Capture Register Bytes
Address
0x44 I/O 0x24
Reset
0x0000
Access
read/write
Size
16-bit
OCR1BTimer/Counter1 Output Compare Register B Bytes
Address
0x48 I/O 0x28
Reset
0x0000
Access
read/write
Size
16-bit
OCR1ATimer/Counter1 Output Compare Register A Bytes
Address
0x4A I/O 0x2A
Reset
0x0000
Access
read/write
Size
16-bit
TCNT1Timer/Counter1 Bytes
Address
0x4C I/O 0x2C
Reset
0x0000
Access
read/write
Size
16-bit
TCCR1BTimer/Counter1 Control Register B
Address
0x4E I/O 0x2E
Reset
0x00
Access
read/write
7ICNC1
6ICES1
5–
4WGM11
3WGM10
2CS12
1CS11
0CS10
4 fields
Field
Bits
What it does
ICNC1
7
Input Capture 1 Noise Canceler
ICES1
6
Input Capture 1 Edge Select
WGM1
4:3
Waveform Generation Mode Bits
CS1
2:0
Clock Select bits
0 No Clock Source (Stopped)
1 Running, No Prescaling
2 Running, CLK/8
3 Running, CLK/64
4 Running, CLK/256
5 Running, CLK/1024
6 Running, ExtClk Tn Falling Edge
7 Running, ExtClk Tn Rising Edge
TCCR1ATimer/Counter1 Control Register A
Address
0x4F I/O 0x2F
Reset
0x00
Access
read/write
7COM1A1
6COM1A0
5COM1B1
4COM1B0
3–
2–
1WGM11
0WGM10
3 fields
Field
Bits
What it does
COM1A
7:6
Compare Output Mode 1A, bits
COM1B
5:4
Compare Output Mode 1B, bits
WGM1
1:0
Pulse Width Modulator Select Bits
TC2 Timer/Counter, 16-bit
TIFR2Timer/Counter Interrupt Flag register
Address
0x30 I/O 0x10
Reset
0x00
Access
read/write
7–
6–
5ICF2
4–
3–
2OCF2B
1OCF2A
0TOV2
4 fields
Field
Bits
What it does
ICF2
5
Timer/Counter2 Input Capture Flag
OCF2B
2
Timer/Counter2 Output Compare B Match Flag
OCF2A
1
Timer/Counter2 Output Compare A Match Flag
TOV2
0
Timer/Counter2 Overflow Flag
TIMSK2Timer/Counter2 Interrupt Mask Register
Address
0x31 I/O 0x11
Reset
0x00
Access
read/write
7–
6–
5ICIE2
4–
3–
2OCIE2B
1OCIE2A
0TOIE2
4 fields
Field
Bits
What it does
ICIE2
5
Timer/Counter2 Input Capture Interrupt Enable
OCIE2B
2
Timer/Counter2 Output Compare B Match Interrupt Enable
OCIE2A
1
Timer/Counter2 Output Compare A Match Interrupt Enable
TOIE2
0
Timer/Counter2 Overflow Interrupt Enable
GTCCRGeneral Timer/Counter Control Register
Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
7TSM
6–
5–
4–
3–
2–
1–
0PSR
2 fields
Field
Bits
What it does
TSM
7
Timer/Counter Synchronization Mode
PSR
0
Prescaler Reset Timer/CounterN
ICR2Timer/Counter2 Input Capture Register Bytes
Address
0xC0
Reset
0x0000
Access
read/write
Size
16-bit
OCR2BTimer/Counter2 Output Compare Register B Bytes
Address
0xC2
Reset
0x0000
Access
read/write
Size
16-bit
OCR2ATimer/Counter2 Output Compare Register A Bytes
Address
0xC4
Reset
0x0000
Access
read/write
Size
16-bit
TCNT2Timer/Counter2 Bytes
Address
0xC6
Reset
0x0000
Access
read/write
Size
16-bit
TCCR2CTimer/Counter2 Control Register C
Address
0xC8
Reset
0x00
Access
read/write
7FOC2A
6FOC2B
5–
4–
3–
2–
1–
0–
2 fields
Field
Bits
What it does
FOC2A
7
Force Output Compare for Channel A
FOC2B
6
Force Output Compare for Channel B
TCCR2BTimer/Counter2 Control Register B
Address
0xC9
Reset
0x00
Access
read/write
7ICNC2
6ICES2
5–
4WGM21
3WGM20
2CS22
1CS21
0CS20
4 fields
Field
Bits
What it does
ICNC2
7
Input Capture 2 Noise Canceler
ICES2
6
Input Capture 2 Edge Select
WGM2
4:3
Waveform Generation Mode Bits
CS2
2:0
Clock Select bits
0 No Clock Source (Stopped)
1 Running, No Prescaling
2 Running, CLK/8
3 Running, CLK/64
4 Running, CLK/256
5 Running, CLK/1024
6 Running, ExtClk Tn Falling Edge
7 Running, ExtClk Tn Rising Edge
TCCR2ATimer/Counter2 Control Register A
Address
0xCA
Reset
0x00
Access
read/write
7COM2A1
6COM2A0
5COM2B1
4COM2B0
3–
2–
1WGM21
0WGM20
3 fields
Field
Bits
What it does
COM2A
7:6
Compare Output Mode 2A, bits
COM2B
5:4
Compare Output Mode 2B, bits
WGM2
1:0
Pulse Width Modulator Select Bits
EXINT External Interrupts
PCMSK0Pin Change Enable Mask 0
Address
0x32 I/O 0x12
Reset
0x00
Access
read/write
7PCINT7
6PCINT6
5PCINT5
4PCINT4
3PCINT3
2PCINT2
1PCINT1
0PCINT0
8 fields
Field
Bits
What it does
PCINT7
7
Pin Change Enable Mask 0 Bit 7
PCINT6
6
Pin Change Enable Mask 0 Bit 6
PCINT5
5
Pin Change Enable Mask 0 Bit 5
PCINT4
4
Pin Change Enable Mask 0 Bit 4
PCINT3
3
Pin Change Enable Mask 0 Bit 3
PCINT2
2
Pin Change Enable Mask 0 Bit 2
PCINT1
1
Pin Change Enable Mask 0 Bit 1
PCINT0
0
Pin Change Enable Mask 0 Bit 0
PCMSK1Pin Change Enable Mask 1
Address
0x40 I/O 0x20
Reset
0x00
Access
read/write
7–
6–
5–
4–
3PCINT11
2PCINT10
1PCINT9
0PCINT8
4 fields
Field
Bits
What it does
PCINT11
3
Pin Change Enable Mask 1 Bit 3
PCINT10
2
Pin Change Enable Mask 1 Bit 2
PCINT9
1
Pin Change Enable Mask 1 Bit 1
PCINT8
0
Pin Change Enable Mask 1 Bit 0
MCUCRMCU Control Register
Address
0x55 I/O 0x35
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1ISC01
0ISC00
2 fields
Field
Bits
What it does
ISC01
1
Interrupt Sense Control 0 Bit 1
ISC00
0
Interrupt Sense Control 0 Bit 0
0 Low Level of INTX
1 Reserved
2 Falling Edge of INTX
3 Rising Edge of INTX
GIFRGeneral Interrupt Flag register
Address
0x5A I/O 0x3A
Reset
0x00
Access
read/write
7–
6INTF0
5PCIF1
4PCIF0
3–
2–
1–
0–
2 fields
Field
Bits
What it does
INTF0
6
External Interrupt Flag 0
PCIF
5:4
Pin Change Interrupt Flags
GIMSKGeneral Interrupt Mask Register
Address
0x5B I/O 0x3B
Reset
0x00
Access
read/write
7–
6INT0
5PCIE1
4PCIE0
3–
2–
1–
0–
2 fields
Field
Bits
What it does
INT0
6
External Interrupt Request 0 Enable
PCIE
5:4
Pin Change Interrupt Enables
CPU CPU Registers
GPIOR0General Purpose I/O Register 0
Address
0x33 I/O 0x13
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
GPIOR1General Purpose I/O Register 1
Address
0x34 I/O 0x14
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
GPIOR2General Purpose I/O Register 2
Address
0x35 I/O 0x15
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
MCUSRMCU Status Register
Address
0x54 I/O 0x34
Reset
0x00
Access
read/write
7–
6–
5–
4–
3WDRF
2BORF
1EXTRF
0PORF
4 fields
Field
Bits
What it does
WDRF
3
Watchdog Reset Flag
BORF
2
Brown-out Reset Flag
EXTRF
1
External Reset Flag
PORF
0
Power-on reset flag
MCUCRMCU Control Register
Address
0x55 I/O 0x35
Reset
0x00
Access
read/write
7–
6–
5SE
4SM1
3SM0
2–
1ISC01
0ISC00
3 fields
Field
Bits
What it does
SE
5
Sleep Enable
SM
4:3
Sleep Mode Select Bits
0 Idle
1 ADC Noise Reduction (If Available)
2 Power Down
3 Standby
ISC0
1:0
Interrupt Sense Control 0 bits
SPMCSRStore Program Memory Control and Status Register
Address
0x57 I/O 0x37
Reset
0x00
Access
read/write
7–
6–
5RSIG
4CTPB
3RFLB
2PGWRT
1PGERS
0SPMEN
6 fields
Field
Bits
What it does
RSIG
5
Read Device Signature Imprint Table
CTPB
4
Clear Temporary Page Buffer
RFLB
3
Read Fuse and Lock Bits
PGWRT
2
Page Write
PGERS
1
Page Erase
SPMEN
0
Store program Memory Enable
SPStack Pointer
Address
0x5D I/O 0x3D
Reset
0x01FF
Access
read/write
Size
16-bit
SREGStatus Register
Address
0x5F I/O 0x3F
Reset
0x00
Access
read/write
7I
6T
5H
4S
3V
2N
1Z
0C
8 fields
Field
Bits
What it does
I
7
Global Interrupt Enable
T
6
Bit Copy Storage
H
5
Half Carry Flag
S
4
Sign Bit
V
3
Two's Complement Overflow Flag
N
2
Negative Flag
Z
1
Zero Flag
C
0
Carry Flag
PRRPower Reduction Register
Address
0x70
Reset
0x00
Access
read/write
7PRTWI
6PRUSART1
5PRUSART0
4PRSPI
3PRTIM2
2PRTIM1
1PRTIM0
0PRADC
8 fields
Field
Bits
What it does
PRTWI
7
Power Reduction TWI
PRUSART1
6
Power Reduction USART1
PRUSART0
5
Power Reduction USART0
PRSPI
4
Power Reduction SPI
PRTIM2
3
Power Reduction Timer/Counter2
PRTIM1
2
Power Reduction Timer/Counter1
PRTIM0
1
Power Reduction Timer/Counter0
PRADC
0
Power Reduction ADC
CCPConfiguration Change Protection
Address
0x71
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
CLKCRClock Control Register
Address
0x72
Reset
0x00
Access
read/write
7OSCRDY
6CSTR
5CKOUTC
4SUT
3CKSEL3
2CKSEL2
1CKSEL1
0CKSEL0
5 fields
Field
Bits
What it does
OSCRDY
7
Oscillator Ready
CSTR
6
Clock Switch Trigger
CKOUTC
5
Clock Output (Copy). Active low.
SUT
4
Start-up Time
CKSEL
3:0
Clock Select Bits
CLKPRClock Prescale Register
Address
0x73
Reset
0x00
Access
read/write
7–
6–
5–
4–
3CLKPS3
2CLKPS2
1CLKPS1
0CLKPS0
1 field
Field
Bits
What it does
CLKPS
3:0
Clock Prescaler Select Bits
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
OSCCAL0Oscillator Calibration Register 8MHz
Address
0x74
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OSCTCAL0AOscillator Temperature Calibration Register A
Address
0x75
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OSCTCAL0BOscillator Temperature Calibration Register B
Address
0x76
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OSCCAL1Oscillator Calibration Register 32kHz
Address
0x77
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
PORTB I/O Port
PINBPort B Data register
Address
0x36 I/O 0x16
Reset
0x00
Access
read/write
7–
6–
5–
4–
3PINB3
2PINB2
1PINB1
0PINB0
DDRBData Direction Register, Port B
Address
0x37 I/O 0x17
Reset
0x00
Access
read/write
7–
6–
5–
4–
3DDB3
2DDB2
1DDB1
0DDB0
PORTBInput Pins, Port B
Address
0x38 I/O 0x18
Reset
0x00
Access
read/write
7–
6–
5–
4–
3PORTB3
2PORTB2
1PORTB1
0PORTB0
PUEBPull-up Enable Control Register
Address
0x62
Reset
0x00
Access
read/write
7–
6–
5–
4–
3PUEB3
2PUEB2
1PUEB1
0PUEB0
PORTCRPort Control Register
Address
0x64
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1BBMB
0–
1 field
Field
Bits
What it does
BBMB
1
Break-Before-Make Mode Enable
PORTA I/O Port
PINAPort A Input Pins
Address
0x39 I/O 0x19
Reset
0x00
Access
read/write
7PINA7
6PINA6
5PINA5
4PINA4
3PINA3
2PINA2
1PINA1
0PINA0
DDRAData Direction Register, Port A
Address
0x3A I/O 0x1A
Reset
0x00
Access
read/write
7DDA7
6DDA6
5DDA5
4DDA4
3DDA3
2DDA2
1DDA1
0DDA0
PORTAPort A Data Register
Address
0x3B I/O 0x1B
Reset
0x00
Access
read/write
7PORTA7
6PORTA6
5PORTA5
4PORTA4
3PORTA3
2PORTA2
1PORTA1
0PORTA0
PUEAPull-up Enable Control Register
Address
0x63
Reset
0x00
Access
read/write
7PUEA7
6PUEA6
5PUEA5
4PUEA4
3PUEA3
2PUEA2
1PUEA1
0PUEA0
PORTCRPort Control Register
Address
0x64
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0BBMA
1 field
Field
Bits
What it does
BBMA
0
Break-Before-Make Mode Enable
PHDEPort High Drive Enable Register
Address
0x6A
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1PHDEA1
0PHDEA0
1 field
Field
Bits
What it does
PHDEA
1:0
PortA High Drive Enable
EEPROM EEPROM
EECREEPROM Control Register
Address
0x3C I/O 0x1C
Reset
0x00
Access
read/write
7–
6–
5EEPM1
4EEPM0
3EERIE
2EEMPE
1EEPE
0EERE
5 fields
Field
Bits
What it does
EEPM
5:4
EEPROM Programming Mode Bits
0 Erase and Write in one operation
1 Erase Only
2 Write Only
EERIE
3
EEPROM Ready Interrupt Enable
EEMPE
2
EEPROM Master Write Enable
EEPE
1
EEPROM Write Enable
EERE
0
EEPROM Read Enable
EEDREEPROM Data Register
Address
0x3D I/O 0x1D
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
EEAREEPROM Address Register Bytes
Address
0x3E I/O 0x1E
Reset
0x0000
Access
read/write
Size
16-bit
WDT Watchdog Timer
WDTCSRWatchdog Timer Control and Status Register
Address
0x41 I/O 0x21
Reset
0x00
Access
read/write
7WDIF
6WDIE
5WDP5
4–
3WDE
2WDP2
1WDP1
0WDP0
4 fields
Field
Bits
What it does
WDIF
7
Watchdog Timer Interrupt Flag
WDIE
6
Watchdog Timer Interrupt Enable
WDP
5,2,1,0
Watchdog Timer Prescaler Bits
0 Oscillator Cycles 512 (16 ms)
1 Oscillator Cycles 1K (32 ms)
2 Oscillator Cycles 2K (64 ms)
3 Oscillator Cycles 4K (0.125 s)
4 Oscillator Cycles 8K (0.25 s)
5 Oscillator Cycles 16K (0.5 s)
6 Oscillator Cycles 32K (1.0 s)
7 Oscillator Cycles 64K (2.0 s)
8 Oscillator Cycles 128K (4.0 s)
9 Oscillator Cycles 256K (8.0 s)
WDE
3
Watch Dog Enable
TC0 Timer/Counter, 8-bit
GTCCRGeneral Timer/Counter Control Register
Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
7TSM
6–
5–
4–
3–
2–
1–
0PSR
2 fields
Field
Bits
What it does
TSM
7
Timer/Counter Synchronization Mode
PSR
0
Prescaler Reset Timer/CounterN
TCCR0ATimer/Counter Control Register A
Address
0x50 I/O 0x30
Reset
0x00
Access
read/write
7COM0A1
6COM0A0
5COM0B1
4COM0B0
3–
2–
1WGM01
0WGM00
3 fields
Field
Bits
What it does
COM0A
7:6
Compare Match Output A Mode bits
COM0B
5:4
Compare Match Output B Mode bits
WGM0
1:0
Waveform Generation Mode bits
TCNT0Timer/Counter0
Address
0x52 I/O 0x32
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
TCCR0BTimer/Counter Control Register B
Address
0x53 I/O 0x33
Reset
0x00
Access
read/write
7FOC0A
6FOC0B
5–
4–
3WGM02
2CS02
1CS01
0CS00
4 fields
Field
Bits
What it does
FOC0A
7
Force Output Compare A
FOC0B
6
Force Output Compare B
WGM02
3
Waveform Generation Mode bit 2
CS0
2:0
Clock Select bits
0 No Clock Source (Stopped)
1 Running, No Prescaling
2 Running, CLK/8
3 Running, CLK/64
4 Running, CLK/256
5 Running, CLK/1024
6 Running, ExtClk Tn Falling Edge
7 Running, ExtClk Tn Rising Edge
OCR0ATimer/Counter0 Output Compare Register A
Address
0x56 I/O 0x36
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
TIFR0Timer/Counter0 Interrupt Flag Register
Address
0x58 I/O 0x38
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2OCF0B
1OCF0A
0TOV0
3 fields
Field
Bits
What it does
OCF0B
2
Timer/Counter0 Output Compare Flag B
OCF0A
1
Timer/Counter0 Output Compare Flag A
TOV0
0
Timer/Counter0 Overflow Flag
TIMSK0Timer/Counter Interrupt Mask Register
Address
0x59 I/O 0x39
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2OCIE0B
1OCIE0A
0TOIE0
3 fields
Field
Bits
What it does
OCIE0B
2
Timer/Counter0 Output Compare Match B Interrupt Enable
OCIE0A
1
Timer/Counter0 Output Compare Match A Interrupt Enable