All 160 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.
PORTA I/O Port
PINAPort A Input Pins
Address
0x20 I/O 0x00
Reset
0x00
Access
read/write
7PINA7
6PINA6
5PINA5
4PINA4
3PINA3
2PINA2
1PINA1
0PINA0
DDRAPort A Data Direction Register
Address
0x21 I/O 0x01
Reset
0x00
Access
read/write
7DDA7
6DDA6
5DDA5
4DDA4
3DDA3
2DDA2
1DDA1
0DDA0
PORTAPort A Data Register
Address
0x22 I/O 0x02
Reset
0x00
Access
read/write
7PORTA7
6PORTA6
5PORTA5
4PORTA4
3PORTA3
2PORTA2
1PORTA1
0PORTA0
PORTB I/O Port
PINBPort B Input Pins
Address
0x23 I/O 0x03
Reset
0x00
Access
read/write
7PINB7
6PINB6
5PINB5
4PINB4
3PINB3
2PINB2
1PINB1
0PINB0
DDRBPort B Data Direction Register
Address
0x24 I/O 0x04
Reset
0x00
Access
read/write
7DDB7
6DDB6
5DDB5
4DDB4
3DDB3
2DDB2
1DDB1
0DDB0
PORTBPort B Data Register
Address
0x25 I/O 0x05
Reset
0x00
Access
read/write
7PORTB7
6PORTB6
5PORTB5
4PORTB4
3PORTB3
2PORTB2
1PORTB1
0PORTB0
PORTC I/O Port
PINCPort C Input Pins
Address
0x26 I/O 0x06
Reset
0x00
Access
read/write
7PINC7
6PINC6
5PINC5
4PINC4
3PINC3
2PINC2
1PINC1
0PINC0
DDRCPort C Data Direction Register
Address
0x27 I/O 0x07
Reset
0x00
Access
read/write
7DDC7
6DDC6
5DDC5
4DDC4
3DDC3
2DDC2
1DDC1
0DDC0
PORTCPort C Data Register
Address
0x28 I/O 0x08
Reset
0x00
Access
read/write
7PORTC7
6PORTC6
5PORTC5
4PORTC4
3PORTC3
2PORTC2
1PORTC1
0PORTC0
PORTD I/O Port
PINDPort D Input Pins
Address
0x29 I/O 0x09
Reset
0x00
Access
read/write
7PIND7
6PIND6
5PIND5
4PIND4
3PIND3
2PIND2
1PIND1
0PIND0
DDRDPort D Data Direction Register
Address
0x2A I/O 0x0A
Reset
0x00
Access
read/write
7DDD7
6DDD6
5DDD5
4DDD4
3DDD3
2DDD2
1DDD1
0DDD0
PORTDPort D Data Register
Address
0x2B I/O 0x0B
Reset
0x00
Access
read/write
7PORTD7
6PORTD6
5PORTD5
4PORTD4
3PORTD3
2PORTD2
1PORTD1
0PORTD0
PORTE I/O Port
PINEInput Pins, Port E
Address
0x2C I/O 0x0C
Reset
0x00
Access
read/write
7PINE7
6PINE6
5PINE5
4PINE4
3PINE3
2PINE2
1PINE1
0PINE0
DDREData Direction Register, Port E
Address
0x2D I/O 0x0D
Reset
0x00
Access
read/write
7DDE7
6DDE6
5DDE5
4DDE4
3DDE3
2DDE2
1DDE1
0DDE0
PORTEData Register, Port E
Address
0x2E I/O 0x0E
Reset
0x00
Access
read/write
7PORTE7
6PORTE6
5PORTE5
4PORTE4
3PORTE3
2PORTE2
1PORTE1
0PORTE0
PORTF I/O Port
PINFInput Pins, Port F
Address
0x2F I/O 0x0F
Reset
0x00
Access
read/write
7PINF7
6PINF6
5PINF5
4PINF4
3PINF3
2PINF2
1PINF1
0PINF0
DDRFData Direction Register, Port F
Address
0x30 I/O 0x10
Reset
0x00
Access
read/write
7DDF7
6DDF6
5DDF5
4DDF4
3DDF3
2DDF2
1DDF1
0DDF0
PORTFData Register, Port F
Address
0x31 I/O 0x11
Reset
0x00
Access
read/write
7PORTF7
6PORTF6
5PORTF5
4PORTF4
3PORTF3
2PORTF2
1PORTF1
0PORTF0
PORTG I/O Port
PINGInput Pins, Port G
Address
0x32 I/O 0x12
Reset
0x00
Access
read/write
7–
6–
5PING5
4PING4
3PING3
2PING2
1PING1
0PING0
DDRGData Direction Register, Port G
Address
0x33 I/O 0x13
Reset
0x00
Access
read/write
7–
6–
5DDG5
4DDG4
3DDG3
2DDG2
1DDG1
0DDG0
PORTGData Register, Port G
Address
0x34 I/O 0x14
Reset
0x00
Access
read/write
7–
6–
5PORTG5
4PORTG4
3PORTG3
2PORTG2
1PORTG1
0PORTG0
TC0 Timer/Counter, 8-bit
TIFR0Timer/Counter0 Interrupt Flag register
Address
0x35 I/O 0x15
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 0B
OCF0A
1
Timer/Counter0 Output Compare Flag 0A
TOV0
0
Timer/Counter0 Overflow Flag
GTCCRGeneral Timer/Counter Control Register
Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
7TSM
6–
5–
4–
3–
2–
1–
0PSRSYNC
2 fields
Field
Bits
What it does
TSM
7
Timer/Counter Synchronization Mode
PSRSYNC
0
Prescaler Reset Timer/Counter1 and Timer/Counter0
TCCR0ATimer/Counter Control Register A
Address
0x44 I/O 0x24
Reset
0x00
Access
read/write
7COM0A1
6COM0A0
5COM0B1
4COM0B0
3–
2–
1WGM01
0WGM00
3 fields
Field
Bits
What it does
COM0A
7:6
Compare Output Mode, Phase Correct PWM Mode
COM0B
5:4
Compare Output Mode, Fast PWm
WGM0
1:0
Waveform Generation Mode
TCCR0BTimer/Counter Control Register B
Address
0x45 I/O 0x25
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
CS0
2:0
Clock Select
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
TCNT0Timer/Counter0
Address
0x46 I/O 0x26
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OCR0ATimer/Counter0 Output Compare Register
Address
0x47 I/O 0x27
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OCR0BTimer/Counter0 Output Compare Register
Address
0x48 I/O 0x28
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
TIMSK0Timer/Counter0 Interrupt Mask Register
Address
0x6E
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
TOIE0
0
Timer/Counter0 Overflow Interrupt Enable
TC1 Timer/Counter, 16-bit
TIFR1Timer/Counter1 Interrupt Flag register
Address
0x36 I/O 0x16
Reset
0x00
Access
read/write
7–
6–
5ICF1
4–
3OCF1C
2OCF1B
1OCF1A
0TOV1
5 fields
Field
Bits
What it does
ICF1
5
Input Capture Flag 1
OCF1C
3
Output Compare Flag 1C
OCF1B
2
Output Compare Flag 1B
OCF1A
1
Output Compare Flag 1A
TOV1
0
Timer/Counter1 Overflow Flag
TIMSK1Timer/Counter1 Interrupt Mask Register
Address
0x6F
Reset
0x00
Access
read/write
7–
6–
5ICIE1
4–
3OCIE1C
2OCIE1B
1OCIE1A
0TOIE1
5 fields
Field
Bits
What it does
ICIE1
5
Timer/Counter1 Input Capture Interrupt Enable
OCIE1C
3
Timer/Counter1 Output Compare C Match 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
TCCR1ATimer/Counter1 Control Register A
Address
0x80
Reset
0x00
Access
read/write
7COM1A1
6COM1A0
5COM1B1
4COM1B0
3COM1C1
2COM1C0
1WGM11
0WGM10
4 fields
Field
Bits
What it does
COM1A
7:6
Compare Output Mode 1A, bits
COM1B
5:4
Compare Output Mode 1B, bits
COM1C
3:2
Compare Output Mode 1C, bits
WGM1
1:0
Waveform Generation Mode
TCCR1BTimer/Counter1 Control Register B
Address
0x81
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
CS1
2:0
Prescaler source of Timer/Counter 1
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
TCCR1CTimer/Counter 1 Control Register C
Address
0x82
Reset
0x00
Access
read/write
7FOC1A
6FOC1B
5FOC1C
4–
3–
2–
1–
0–
3 fields
Field
Bits
What it does
FOC1A
7
Force Output Compare 1A
FOC1B
6
Force Output Compare 1B
FOC1C
5
Force Output Compare 1C
TCNT1Timer/Counter1 Bytes
Address
0x84
Reset
0x0000
Access
read/write
Size
16-bit
ICR1Timer/Counter1 Input Capture Register Bytes
Address
0x86
Reset
0x0000
Access
read/write
Size
16-bit
OCR1ATimer/Counter1 Output Compare Register A Bytes
Address
0x88
Reset
0x0000
Access
read/write
Size
16-bit
OCR1BTimer/Counter1 Output Compare Register B Bytes
Address
0x8A
Reset
0x0000
Access
read/write
Size
16-bit
OCR1CTimer/Counter1 Output Compare Register C Bytes
Address
0x8C
Reset
0x0000
Access
read/write
Size
16-bit
TC2 Timer/Counter, 8-bit Async
TIFR2Timer/Counter Interrupt Flag Register
Address
0x37 I/O 0x17
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2OCF2B
1OCF2A
0TOV2
3 fields
Field
Bits
What it does
OCF2B
2
Output Compare Flag 2B
OCF2A
1
Output Compare Flag 2A
TOV2
0
Timer/Counter2 Overflow Flag
GTCCRGeneral Timer Counter Control register
Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
7TSM
6–
5–
4–
3–
2–
1PSRASY
0–
2 fields
Field
Bits
What it does
TSM
7
Timer/Counter Synchronization Mode
PSRASY
1
Prescaler Reset Timer/Counter2
TIMSK2Timer/Counter Interrupt Mask register
Address
0x70
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2OCIE2B
1OCIE2A
0TOIE2
3 fields
Field
Bits
What it does
OCIE2B
2
Timer/Counter2 Output Compare Match B Interrupt Enable
OCIE2A
1
Timer/Counter2 Output Compare Match A Interrupt Enable
TOIE2
0
Timer/Counter2 Overflow Interrupt Enable
TCCR2ATimer/Counter2 Control Register A
Address
0xB0
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 bits
COM2B
5:4
Compare Output Mode bits
WGM2
1:0
Waveform Generation Mode
TCCR2BTimer/Counter2 Control Register B
Address
0xB1
Reset
0x00
Access
read/write
7FOC2A
6FOC2B
5–
4–
3WGM22
2CS22
1CS21
0CS20
4 fields
Field
Bits
What it does
FOC2A
7
Force Output Compare A
FOC2B
6
Force Output Compare B
WGM22
3
Waveform Generation Mode
CS2
2:0
Clock Select bits
0 No Clock Source (Stopped)
1 Running, No Prescaling
2 Running, CLK/8
3 Running, CLK/32
4 Running, CLK/64
5 Running, CLK/128
6 Running, CLK/256
7 Running, CLK/1024
TCNT2Timer/Counter2
Address
0xB2
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OCR2ATimer/Counter2 Output Compare Register A
Address
0xB3
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
OCR2BTimer/Counter2 Output Compare Register B
Address
0xB4
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
ASSRAsynchronous Status Register
Address
0xB6
Reset
0x00
Access
read/write
7–
6EXCLK
5AS2
4TCN2UB
3OCR2AUB
2OCR2BUB
1TCR2AUB
0TCR2BUB
7 fields
Field
Bits
What it does
EXCLK
6
Enable External Clock Input
AS2
5
Asynchronous Timer/Counter2
TCN2UB
4
Timer/Counter2 Update Busy
OCR2AUB
3
Output Compare Register2 Update Busy
OCR2BUB
2
Output Compare Register 2 Update Busy
TCR2AUB
1
Timer/Counter Control Register2 Update Busy
TCR2BUB
0
Timer/Counter Control Register2 Update Busy
TC3 Timer/Counter, 16-bit
TIFR3Timer/Counter3 Interrupt Flag register
Address
0x38 I/O 0x18
Reset
0x00
Access
read/write
7–
6–
5ICF3
4–
3OCF3C
2OCF3B
1OCF3A
0TOV3
5 fields
Field
Bits
What it does
ICF3
5
Input Capture Flag 3
OCF3C
3
Output Compare Flag 3C
OCF3B
2
Output Compare Flag 3B
OCF3A
1
Output Compare Flag 3A
TOV3
0
Timer/Counter3 Overflow Flag
TIMSK3Timer/Counter3 Interrupt Mask Register
Address
0x71
Reset
0x00
Access
read/write
7–
6–
5ICIE3
4–
3OCIE3C
2OCIE3B
1OCIE3A
0TOIE3
5 fields
Field
Bits
What it does
ICIE3
5
Timer/Counter3 Input Capture Interrupt Enable
OCIE3C
3
Timer/Counter3 Output Compare C Match Interrupt Enable
OCIE3B
2
Timer/Counter3 Output Compare B Match Interrupt Enable
OCIE3A
1
Timer/Counter3 Output Compare A Match Interrupt Enable
TOIE3
0
Timer/Counter3 Overflow Interrupt Enable
TCCR3ATimer/Counter3 Control Register A
Address
0x90
Reset
0x00
Access
read/write
7COM3A1
6COM3A0
5COM3B1
4COM3B0
3COM3C1
2COM3C0
1WGM31
0WGM30
4 fields
Field
Bits
What it does
COM3A
7:6
Compare Output Mode 1A, bits
COM3B
5:4
Compare Output Mode 3B, bits
COM3C
3:2
Compare Output Mode 3C, bits
WGM3
1:0
Waveform Generation Mode
TCCR3BTimer/Counter3 Control Register B
Address
0x91
Reset
0x00
Access
read/write
7ICNC3
6ICES3
5–
4WGM31
3WGM30
2CS32
1CS31
0CS30
4 fields
Field
Bits
What it does
ICNC3
7
Input Capture 3 Noise Canceler
ICES3
6
Input Capture 3 Edge Select
WGM3
4:3
Waveform Generation Mode
CS3
2:0
Prescaler source of Timer/Counter 3
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
TCCR3CTimer/Counter 3 Control Register C
Address
0x92
Reset
0x00
Access
read/write
7FOC3A
6FOC3B
5FOC3C
4–
3–
2–
1–
0–
3 fields
Field
Bits
What it does
FOC3A
7
Force Output Compare 3A
FOC3B
6
Force Output Compare 3B
FOC3C
5
Force Output Compare 3C
TCNT3Timer/Counter3 Bytes
Address
0x94
Reset
0x0000
Access
read/write
Size
16-bit
ICR3Timer/Counter3 Input Capture Register Bytes
Address
0x96
Reset
0x0000
Access
read/write
Size
16-bit
OCR3ATimer/Counter3 Output Compare Register A Bytes
Address
0x98
Reset
0x0000
Access
read/write
Size
16-bit
OCR3BTimer/Counter3 Output Compare Register B Bytes
Address
0x9A
Reset
0x0000
Access
read/write
Size
16-bit
OCR3CTimer/Counter3 Output Compare Register B Bytes
Address
0x9C
Reset
0x0000
Access
read/write
Size
16-bit
TC4 Timer/Counter, 16-bit
TIFR4Timer/Counter4 Interrupt Flag register
Address
0x39 I/O 0x19
Reset
0x00
Access
read/write
7–
6–
5ICF4
4–
3OCF4C
2OCF4B
1OCF4A
0TOV4
5 fields
Field
Bits
What it does
ICF4
5
Input Capture Flag 4
OCF4C
3
Output Compare Flag 4C
OCF4B
2
Output Compare Flag 4B
OCF4A
1
Output Compare Flag 4A
TOV4
0
Timer/Counter4 Overflow Flag
TIMSK4Timer/Counter4 Interrupt Mask Register
Address
0x72
Reset
0x00
Access
read/write
7–
6–
5ICIE4
4–
3OCIE4C
2OCIE4B
1OCIE4A
0TOIE4
5 fields
Field
Bits
What it does
ICIE4
5
Timer/Counter4 Input Capture Interrupt Enable
OCIE4C
3
Timer/Counter4 Output Compare C Match Interrupt Enable
OCIE4B
2
Timer/Counter4 Output Compare B Match Interrupt Enable
OCIE4A
1
Timer/Counter4 Output Compare A Match Interrupt Enable
TOIE4
0
Timer/Counter4 Overflow Interrupt Enable
TCCR4ATimer/Counter4 Control Register A
Address
0xA0
Reset
0x00
Access
read/write
7COM4A1
6COM4A0
5COM4B1
4COM4B0
3COM4C1
2COM4C0
1WGM41
0WGM40
4 fields
Field
Bits
What it does
COM4A
7:6
Compare Output Mode 1A, bits
COM4B
5:4
Compare Output Mode 4B, bits
COM4C
3:2
Compare Output Mode 4C, bits
WGM4
1:0
Waveform Generation Mode
TCCR4BTimer/Counter4 Control Register B
Address
0xA1
Reset
0x00
Access
read/write
7ICNC4
6ICES4
5–
4WGM41
3WGM40
2CS42
1CS41
0CS40
4 fields
Field
Bits
What it does
ICNC4
7
Input Capture 4 Noise Canceler
ICES4
6
Input Capture 4 Edge Select
WGM4
4:3
Waveform Generation Mode
CS4
2:0
Prescaler source of Timer/Counter 4
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
TCCR4CTimer/Counter 4 Control Register C
Address
0xA2
Reset
0x00
Access
read/write
7FOC4A
6FOC4B
5FOC4C
4–
3–
2–
1–
0–
3 fields
Field
Bits
What it does
FOC4A
7
Force Output Compare 4A
FOC4B
6
Force Output Compare 4B
FOC4C
5
Force Output Compare 4C
TCNT4Timer/Counter4 Bytes
Address
0xA4
Reset
0x0000
Access
read/write
Size
16-bit
ICR4Timer/Counter4 Input Capture Register Bytes
Address
0xA6
Reset
0x0000
Access
read/write
Size
16-bit
OCR4ATimer/Counter4 Output Compare Register A Bytes
Address
0xA8
Reset
0x0000
Access
read/write
Size
16-bit
OCR4BTimer/Counter4 Output Compare Register B Bytes
Address
0xAA
Reset
0x0000
Access
read/write
Size
16-bit
OCR4CTimer/Counter4 Output Compare Register B Bytes
Address
0xAC
Reset
0x0000
Access
read/write
Size
16-bit
TC5 Timer/Counter, 16-bit
TIFR5Timer/Counter5 Interrupt Flag register
Address
0x3A I/O 0x1A
Reset
0x00
Access
read/write
7–
6–
5ICF5
4–
3OCF5C
2OCF5B
1OCF5A
0TOV5
5 fields
Field
Bits
What it does
ICF5
5
Input Capture Flag 5
OCF5C
3
Output Compare Flag 5C
OCF5B
2
Output Compare Flag 5B
OCF5A
1
Output Compare Flag 5A
TOV5
0
Timer/Counter5 Overflow Flag
TIMSK5Timer/Counter5 Interrupt Mask Register
Address
0x73
Reset
0x00
Access
read/write
7–
6–
5ICIE5
4–
3OCIE5C
2OCIE5B
1OCIE5A
0TOIE5
5 fields
Field
Bits
What it does
ICIE5
5
Timer/Counter5 Input Capture Interrupt Enable
OCIE5C
3
Timer/Counter5 Output Compare C Match Interrupt Enable
OCIE5B
2
Timer/Counter5 Output Compare B Match Interrupt Enable
OCIE5A
1
Timer/Counter5 Output Compare A Match Interrupt Enable
TOIE5
0
Timer/Counter5 Overflow Interrupt Enable
TCCR5ATimer/Counter5 Control Register A
Address
0x120
Reset
0x00
Access
read/write
7COM5A1
6COM5A0
5COM5B1
4COM5B0
3COM5C1
2COM5C0
1WGM51
0WGM50
4 fields
Field
Bits
What it does
COM5A
7:6
Compare Output Mode 1A, bits
COM5B
5:4
Compare Output Mode 5B, bits
COM5C
3:2
Compare Output Mode 5C, bits
WGM5
1:0
Waveform Generation Mode
TCCR5BTimer/Counter5 Control Register B
Address
0x121
Reset
0x00
Access
read/write
7ICNC5
6ICES5
5–
4WGM51
3WGM50
2CS52
1CS51
0CS50
4 fields
Field
Bits
What it does
ICNC5
7
Input Capture 5 Noise Canceler
ICES5
6
Input Capture 5 Edge Select
WGM5
4:3
Waveform Generation Mode
CS5
2:0
Prescaler source of Timer/Counter 5
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
TCCR5CTimer/Counter 5 Control Register C
Address
0x122
Reset
0x00
Access
read/write
7FOC5A
6FOC5B
5FOC5C
4–
3–
2–
1–
0–
3 fields
Field
Bits
What it does
FOC5A
7
Force Output Compare 5A
FOC5B
6
Force Output Compare 5B
FOC5C
5
Force Output Compare 5C
TCNT5Timer/Counter5 Bytes
Address
0x124
Reset
0x0000
Access
read/write
Size
16-bit
ICR5Timer/Counter5 Input Capture Register Bytes
Address
0x126
Reset
0x0000
Access
read/write
Size
16-bit
OCR5ATimer/Counter5 Output Compare Register A Bytes
Address
0x128
Reset
0x0000
Access
read/write
Size
16-bit
OCR5BTimer/Counter5 Output Compare Register B Bytes
Address
0x12A
Reset
0x0000
Access
read/write
Size
16-bit
OCR5CTimer/Counter5 Output Compare Register B Bytes
Address
0x12C
Reset
0x0000
Access
read/write
Size
16-bit
EXINT External Interrupts
PCIFRPin Change Interrupt Flag Register
Address
0x3B I/O 0x1B
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2PCIF2
1PCIF1
0PCIF0
1 field
Field
Bits
What it does
PCIF
2:0
Pin Change Interrupt Flags
EIFRExternal Interrupt Flag Register
Address
0x3C I/O 0x1C
Reset
0x00
Access
read/write
7INTF7
6INTF6
5INTF5
4INTF4
3INTF3
2INTF2
1INTF1
0INTF0
1 field
Field
Bits
What it does
INTF
7:0
External Interrupt Flags
EIMSKExternal Interrupt Mask Register
Address
0x3D I/O 0x1D
Reset
0x00
Access
read/write
7INT7
6INT6
5INT5
4INT4
3INT3
2INT2
1INT1
0INT0
1 field
Field
Bits
What it does
INT
7:0
External Interrupt Request 7 Enable
PCICRPin Change Interrupt Control Register
Address
0x68
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2PCIE2
1PCIE1
0PCIE0
1 field
Field
Bits
What it does
PCIE
2:0
Pin Change Interrupt Enables
EICRAExternal Interrupt Control Register A
Address
0x69
Reset
0x00
Access
read/write
7ISC31
6ISC30
5ISC21
4ISC20
3ISC11
2ISC10
1ISC01
0ISC00
4 fields
Field
Bits
What it does
ISC3
7:6
External Interrupt Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC2
5:4
External Interrupt Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC1
3:2
External Interrupt Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC0
1:0
External Interrupt Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
EICRBExternal Interrupt Control Register B
Address
0x6A
Reset
0x00
Access
read/write
7ISC71
6ISC70
5ISC61
4ISC60
3ISC51
2ISC50
1ISC41
0ISC40
4 fields
Field
Bits
What it does
ISC7
7:6
External Interrupt 7-4 Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC6
5:4
External Interrupt 7-4 Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC5
3:2
External Interrupt 7-4 Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
ISC4
1:0
External Interrupt 7-4 Sense Control Bit
0 Low Level of INTX
1 Any Logical Change of INTX
2 Falling Edge of INTX
3 Rising Edge of INTX
PCMSK0Pin Change Mask Register 0
Address
0x6B
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
PCMSK1Pin Change Mask Register 1
Address
0x6C
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
PCMSK2Pin Change Mask Register 2
Address
0x6D
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
CPU CPU Registers
GPIOR0General Purpose IO Register 0
Address
0x3E I/O 0x1E
Reset
0x00
Access
read/write
7GPIOR07
6GPIOR06
5GPIOR05
4GPIOR04
3GPIOR03
2GPIOR02
1GPIOR01
0GPIOR00
8 fields
Field
Bits
What it does
GPIOR07
7
General Purpose IO Register 0 bit 7
GPIOR06
6
General Purpose IO Register 0 bit 6
GPIOR05
5
General Purpose IO Register 0 bit 5
GPIOR04
4
General Purpose IO Register 0 bit 4
GPIOR03
3
General Purpose IO Register 0 bit 3
GPIOR02
2
General Purpose IO Register 0 bit 2
GPIOR01
1
General Purpose IO Register 0 bit 1
GPIOR00
0
General Purpose IO Register 0 bit 0
GPIOR1General Purpose IO Register 1
Address
0x4A I/O 0x2A
Reset
0x00
Access
read/write
7GPIOR7
6GPIOR6
5GPIOR5
4GPIOR4
3GPIOR3
2GPIOR2
1GPIOR1
0GPIOR0
1 field
Field
Bits
What it does
GPIOR
7:0
General Purpose IO Register 1 bis
GPIOR2General Purpose IO Register 2
Address
0x4B I/O 0x2B
Reset
0x00
Access
read/write
7GPIOR7
6GPIOR6
5GPIOR5
4GPIOR4
3GPIOR3
2GPIOR2
1GPIOR1
0GPIOR0
1 field
Field
Bits
What it does
GPIOR
7:0
General Purpose IO Register 2 bis
SMCRSleep Mode Control Register
Address
0x53 I/O 0x33
Reset
0x00
Access
read/write
7–
6–
5–
4–
3SM2
2SM1
1SM0
0SE
2 fields
Field
Bits
What it does
SM
3:1
Sleep Mode Select bits
0 Idle
1 ADC Noise Reduction (If Available)
2 Power Down
3 Power Save
4 Reserved
5 Reserved
6 Standby
7 Extended Standby
SE
0
Sleep Enable
MCUSRMCU Status Register
Address
0x54 I/O 0x34
Reset
0x00
Access
read/write
7–
6–
5–
4JTRF
3WDRF
2BORF
1EXTRF
0PORF
5 fields
Field
Bits
What it does
JTRF
4
JTAG Reset Flag
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
7JTD
6–
5–
4PUD
3–
2–
1IVSEL
0IVCE
4 fields
Field
Bits
What it does
JTD
7
JTAG Interface Disable
PUD
4
Pull-up disable
IVSEL
1
Interrupt Vector Select
IVCE
0
Interrupt Vector Change Enable
EINDExtended Indirect Register
Address
0x5C I/O 0x3C
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
SPStack Pointer
Address
0x5D I/O 0x3D
Reset
0x21FF
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
CLKPR
Address
0x61
Reset
0x00
Access
read/write
7CLKPCE
6–
5–
4–
3CLKPS3
2CLKPS2
1CLKPS1
0CLKPS0
2 fields
Field
Bits
What it does
CLKPCE
7
CLKPS
3:0
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
PRR0Power Reduction Register0
Address
0x64
Reset
0x00
Access
read/write
7PRTWI
6PRTIM2
5PRTIM0
4–
3PRTIM1
2PRSPI
1PRUSART0
0PRADC
7 fields
Field
Bits
What it does
PRTWI
7
Power Reduction TWI
PRTIM2
6
Power Reduction Timer/Counter2
PRTIM0
5
Power Reduction Timer/Counter0
PRTIM1
3
Power Reduction Timer/Counter1
PRSPI
2
Power Reduction Serial Peripheral Interface
PRUSART0
1
Power Reduction USART0
PRADC
0
Power Reduction ADC
PRR1Power Reduction Register1
Address
0x65
Reset
0x00
Access
read/write
7–
6–
5PRTIM5
4PRTIM4
3PRTIM3
2PRUSART3
1PRUSART2
0PRUSART1
6 fields
Field
Bits
What it does
PRTIM5
5
Power Reduction Timer/Counter5
PRTIM4
4
Power Reduction Timer/Counter4
PRTIM3
3
Power Reduction Timer/Counter3
PRUSART3
2
Power Reduction USART3
PRUSART2
1
Power Reduction USART2
PRUSART1
0
Power Reduction USART1
OSCCALOscillator Calibration Value
Address
0x66
Reset
0x00
Access
read/write
7OSCCAL7
6OSCCAL6
5OSCCAL5
4OSCCAL4
3OSCCAL3
2OSCCAL2
1OSCCAL1
0OSCCAL0
1 field
Field
Bits
What it does
OSCCAL
7:0
Oscillator Calibration
XMCRAExternal Memory Control Register A
Address
0x74
Reset
0x00
Access
read/write
7SRE
6SRL2
5SRL1
4SRL0
3SRW11
2SRW10
1SRW01
0SRW00
4 fields
Field
Bits
What it does
SRE
7
External SRAM Enable
SRL
6:4
Wait state page limit
0 LS = N/A, US = 0x1100 - 0xFFFF
1 LS = 0x2200 - 0x1FFF, US = 0x2000 - 0xFFFF
2 LS = 0x2200 - 0x3FFF, US = 0x4000 - 0xFFFF
3 LS = 0x2200 - 0x5FFF, US = 0x6000 - 0xFFFF
4 LS = 0x2200 - 0x7FFF, US = 0x8000 - 0xFFFF
5 LS = 0x2200 - 0x9FFF, US = 0xA000 - 0xFFFF
6 LS = 0x2200 - 0xBFFF, US = 0xC000 - 0xFFFF
7 LS = 0x2200 - 0xDFFF, US = 0xE000 - 0xFFFF
SRW1
3:2
Wait state select bit upper page
0 No wait-states
1 Wait one cycle during read/write strobe
2 Wait two cycles during read/write strobe
3 Wait two cycles during read/write and wait one cycle before driving out new address
SRW0
1:0
Wait state select bit lower page
0 No wait-states
1 Wait one cycle during read/write strobe
2 Wait two cycles during read/write strobe
3 Wait two cycles during read/write and wait one cycle before driving out new address
XMCRBExternal Memory Control Register B
Address
0x75
Reset
0x00
Access
read/write
7XMBK
6–
5–
4–
3–
2XMM2
1XMM1
0XMM0
2 fields
Field
Bits
What it does
XMBK
7
External Memory Bus Keeper Enable
XMM
2:0
External Memory High Mask
EEPROM EEPROM
EECREEPROM Control Register
Address
0x3F I/O 0x1F
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
0x40 I/O 0x20
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
EEAREEPROM Address Register Low Bytes
Address
0x41 I/O 0x21
Reset
0x0000
Access
read/write
Size
16-bit
SPI Serial Peripheral Interface
SPCRSPI Control Register
Address
0x4C I/O 0x2C
Reset
0x00
Access
read/write
7SPIE
6SPE
5DORD
4MSTR
3CPOL
2CPHA
1SPR1
0SPR0
7 fields
Field
Bits
What it does
SPIE
7
SPI Interrupt Enable
SPE
6
SPI Enable
DORD
5
Data Order
MSTR
4
Master/Slave Select
CPOL
3
Clock polarity
CPHA
2
Clock Phase
SPR
1:0
SPI Clock Rate Selects
0 fosc/4
1 fosc/16
2 fosc/64
3 fosc/128
4 fosc/2
5 fosc/8
6 fosc/32
7 fosc/64
SPSRSPI Status Register
Address
0x4D I/O 0x2D
Reset
0x00
Access
read/write
7SPIF
6WCOL
5–
4–
3–
2–
1–
0SPI2X
3 fields
Field
Bits
What it does
SPIF
7
SPI Interrupt Flag
WCOL
6
Write Collision Flag
SPI2X
0
Double SPI Speed Bit
SPDRSPI Data Register
Address
0x4E I/O 0x2E
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0–
AC Analog Comparator
ACSRAnalog Comparator Control And Status Register
Address
0x50 I/O 0x30
Reset
0x00
Access
read/write
7ACD
6ACBG
5ACO
4ACI
3ACIE
2ACIC
1ACIS1
0ACIS0
7 fields
Field
Bits
What it does
ACD
7
Analog Comparator Disable
ACBG
6
Analog Comparator Bandgap Select
ACO
5
Analog Compare Output
ACI
4
Analog Comparator Interrupt Flag
ACIE
3
Analog Comparator Interrupt Enable
ACIC
2
Analog Comparator Input Capture Enable
ACIS
1:0
Analog Comparator Interrupt Mode Select bits
0 Interrupt on Toggle
1 Reserved
2 Interrupt on Falling Edge
3 Interrupt on Rising Edge
ADCSRBADC Control and Status Register B
Address
0x7B
Reset
0x00
Access
read/write
7–
6ACME
5–
4–
3–
2–
1–
0–
1 field
Field
Bits
What it does
ACME
6
Analog Comparator Multiplexer Enable
DIDR1Digital Input Disable Register 1
Address
0x7F
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1AIN1D
0AIN0D
2 fields
Field
Bits
What it does
AIN1D
1
AIN1 Digital Input Disable
AIN0D
0
AIN0 Digital Input Disable
JTAG JTAG Interface
OCDROn-Chip Debug Related Register in I/O Memory
Address
0x51 I/O 0x31
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–
4JTRF
3–
2–
1–
0–
1 field
Field
Bits
What it does
JTRF
4
JTAG Reset Flag
MCUCRMCU Control Register
Address
0x55 I/O 0x35
Reset
0x00
Access
read/write
7JTD
6–
5–
4–
3–
2–
1–
0–
1 field
Field
Bits
What it does
JTD
7
JTAG Interface Disable
BOOT_LOAD Bootloader
SPMCSRStore Program Memory Control Register
Address
0x57 I/O 0x37
Reset
0x00
Access
read/write
7SPMIE
6RWWSB
5SIGRD
4RWWSRE
3BLBSET
2PGWRT
1PGERS
0SPMEN
8 fields
Field
Bits
What it does
SPMIE
7
SPM Interrupt Enable
RWWSB
6
Read While Write Section Busy
SIGRD
5
Signature Row Read
RWWSRE
4
Read While Write section read enable
BLBSET
3
Boot Lock Bit Set
PGWRT
2
Page Write
PGERS
1
Page Erase
SPMEN
0
Store Program Memory Enable
WDT Watchdog Timer
WDTCSRWatchdog Timer Control Register
Address
0x60
Reset
0x00
Access
read/write
7WDIF
6WDIE
5WDP5
4WDCE
3WDE
2WDP2
1WDP1
0WDP0
5 fields
Field
Bits
What it does
WDIF
7
Watchdog Timeout Interrupt Flag
WDIE
6
Watchdog Timeout Interrupt Enable
WDP
5,2,1,0
Watchdog Timer Prescaler Bits
0 Oscillator Cycles 2K
1 Oscillator Cycles 4K
2 Oscillator Cycles 8K
3 Oscillator Cycles 16K
4 Oscillator Cycles 32K
5 Oscillator Cycles 64K
6 Oscillator Cycles 128K
7 Oscillator Cycles 256K
8 Oscillator Cycles 512K
9 Oscillator Cycles 1024K
WDCE
4
Watchdog Change Enable
WDE
3
Watch Dog Enable
ADC Analog-to-Digital Converter
ADCADC Data Register Bytes
Address
0x78
Reset
0x0000
Access
read/write
Size
16-bit
ADCSRAThe ADC Control and Status register A
Address
0x7A
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
ADCSRBThe ADC Control and Status register B
Address
0x7B
Reset
0x00
Access
read/write
7–
6ACME
5–
4–
3MUX5
2ADTS2
1ADTS1
0ADTS0
3 fields
Field
Bits
What it does
ACME
6
MUX5
3
Analog Channel and Gain Selection Bits
ADTS
2:0
ADC Auto Trigger Source bits
0 Free Running mode
1 Analog Comparator
2 External Interrupt Request 0
3 Timer/Counter0 Compare Match A
4 Timer/Counter0 Overflow
5 Timer/Counter1 Compare Match B
6 Timer/Counter1 Overflow
7 Timer/Counter1 Capture Event
ADMUXThe ADC multiplexer Selection Register
Address
0x7C
Reset
0x00
Access
read/write
7REFS1
6REFS0
5ADLAR
4MUX4
3MUX3
2MUX2
1MUX1
0MUX0
3 fields
Field
Bits
What it does
REFS
7:6
Reference Selection Bits
0 AREF, Internal Vref turned off
1 AVCC with external capacitor at AREF pin
2 Internal 1.1V Voltage Reference with external capacitor at AREF pin
3 Internal 2.56V Voltage Reference with external capacitor at AREF pin