ATmega128
Register Summary (Continued)
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
($61)
DDRF
Reserved
SREG
DDF7
–
DDF6
–
DDF5
–
DDF4
–
DDF3
–
DDF2
–
DDF1
–
DDF0
–
88
($60)
$3F ($5F)
$3E ($5E)
$3D ($5D)
$3C ($5C)
$3B ($5B)
$3A ($5A)
$39 ($59)
$38 ($58)
$37 ($57)
$36 ($56)
$35 ($55)
$34 ($54)
$33 ($53)
$32 ($52)
$31 ($51)
$30 ($50)
$2F ($4F)
$2E ($4E)
$2D ($4D)
$2C ($4C)
$2B ($4B)
$2A ($4A)
$29 ($49)
$28 ($48)
$27 ($47)
$26 ($46)
$25 ($45)
$24 ($44)
$23 ($43)
$22 ($42)
$21 ($41)
$20 ($40)
$1F ($3F)
$1E ($3E)
$1D ($3D)
$1C ($3C)
$1B ($3B)
$1A ($3A)
$19 ($39)
$18 ($38)
$17 ($37)
$16 ($36)
$15 ($35)
$14 ($34)
$13 ($33)
$12 ($32)
$11 ($31)
$10 ($30)
$0F ($2F)
$0E ($2E)
$0D ($2D)
$0C ($2C)
$0B ($2B)
$0A ($2A)
$09 ($29)
$08 ($28)
$07 ($27)
$06 ($26)
$05 ($25)
$04 ($24)
$03 ($23)
$02 ($22)
I
T
H
S
V
N
Z
C
11
SPH
SP15
SP7
SP14
SP6
SP13
SP5
XDIV5
–
SP12
SP4
SP11
SP3
SP10
SP2
SP9
SP8
14
SPL
SP1
SP0
14
XDIV
XDIVEN
–
XDIV6
–
XDIV4
–
XDIV3
–
XDIV2
–
XDIV1
–
XDIV0
RAMPZ0
ISC40
INT0
43
RAMPZ
EICRB
EIMSK
EIFR
14
ISC71
INT7
INTF7
OCIE2
OCF2
SRE
JTD
ISC70
INT6
INTF6
TOIE2
TOV2
SRW10
–
ISC61
INT5
INTF5
TICIE1
ICF1
SE
ISC60
INT4
INTF4
OCIE1A
OCF1A
SM1
ISC51
INT3
INTF3
OCIE1B
OCF1B
SM0
ISC50
INT2
INTF
TOIE1
TOV1
SM2
BORF
CS02
ISC41
INT1
INTF1
OCIE0
OCF0
IVSEL
EXTRF
CS01
90
91
INTF0
TOIE0
TOV0
IVCE
PORF
CS00
91
TIMSK
TIFR
108, 140, 160
108, 141, 160
MCUCR
MCUCSR
TCCR0
TCNT0
OCR0
31, 44, 63
–
JTRF
COM00
WDRF
WGM01
53, 257
103
105
105
106
133
136
138
138
138
138
138
138
139
139
158
160
160
254
55
FOC0
WGM00
COM01
Timer/Counter0 (8 Bit)
Timer/Counter0 Output Compare Register
ASSR
–
–
–
COM1B1
–
–
AS0
TCN0UB
COM1C0
CS12
OCR0UB
WGM11
CS11
TCR0UB
WGM10
CS10
TCCR1A
TCCR1B
TCNT1H
TCNT1L
OCR1AH
OCR1AL
OCR1BH
OCR1BL
ICR1H
ICR1L
COM1A1
ICNC1
COM1A0
ICES1
COM1B0
WGM13
COM1C1
WGM12
Timer/Counter1 – Counter Register High Byte
Timer/Counter1 – Counter Register Low Byte
Timer/Counter1 – Output Compare Register A High Byte
Timer/Counter1 – Output Compare Register A Low Byte
Timer/Counter1 – Output Compare Register B High Byte
Timer/Counter1 – Output Compare Register B Low Byte
Timer/Counter1 – Input Capture Register High Byte
Timer/Counter1 – Input Capture Register Low Byte
TCCR2
TCNT2
OCR2
FOC2
WGM20
COM21
COM20
WGM21
CS22
CS21
CS20
Timer/Counter2 (8 Bit)
Timer/Counter2 Output Compare Register
IDRD/OCDR7
OCDR
WDTCR
SFIOR
EEARH
EEARL
EEDR
OCDR6
OCDR5
OCDR4
OCDR3
WDE
OCDR2
WDP2
PUD
OCDR1
WDP1
PSR0
OCDR0
WDP0
–
TSM
–
–
–
–
–
–
–
WDCE
–
–
ACME
PSR321
72, 109, 145, 229
21
EEPROM Address Register High
EEPROM Address Register Low Byte
EEPROM Data Register
21
22
EECR
–
–
–
–
EERIE
PORTA3
DDA3
EEMWE
PORTA2
DDA2
EEWE
PORTA1
DDA1
EERE
PORTA0
DDA0
22
PORTA
DDRA
PORTA7
DDA7
PORTA6
DDA6
PORTA5
DDA5
PORTA4
DDA4
86
86
PINA
PINA7
PORTB7
DDB7
PINA6
PORTB6
DDB6
PINA5
PORTB5
DDB5
PINA4
PORTB4
DDB4
PINA3
PINA2
PINA1
PINA0
86
PORTB
DDRB
PORTB3
DDB3
PORTB2
DDB2
PORTB1
DDB1
PORTB0
DDB0
86
86
PINB
PINB7
PORTC7
DDC7
PINB6
PORTC6
DDC6
PINB5
PORTC5
DDC5
PINB4
PORTC4
DDC4
PINB3
PINB2
PINB1
PINB0
86
PORTC
DDRC
PORTC3
DDC3
PORTC2
DDC2
PORTC1
DDC1
PORTC0
DDC0
86
86
PINC
PINC7
PORTD7
DDD7
PINC6
PORTD6
DDD6
PINC5
PORTD5
DDD5
PINC4
PORTD4
DDD4
PINC3
PINC2
PINC1
PORTD1
DDD1
PINC0
PORTD0
DDD0
87
PORTD
DDRD
PORTD3
DDD3
PORTD2
DDD2
87
87
PIND
PIND7
PIND6
PIND5
PIND4
PIND3
PIND2
PIND1
PIND0
87
SPDR
SPI Data Register
170
170
168
190
190
191
194
229
245
246
247
247
87
SPSR
SPIF
SPIE
WCOL
SPE
–
–
–
–
–
SPI2X
SPR0
SPCR
DORD
MSTR
CPOL
CPHA
SPR1
UDR0
USART0 I/O Data Register
UCSR0A
UCSR0B
UBRR0L
ACSR
RXC0
TXC0
UDRE0
UDRIE0
FE0
DOR0
UPE0
U2X0
MPCM0
TXB80
RXCIE0
TXCIE0
RXEN0
TXEN0
UCSZ02
RXB80
USART0 Baud Rate Register Low
ACD
REFS1
ADEN
ACBG
REFS0
ADSC
ACO
ADLAR
ADFR
ACI
MUX4
ADIF
ACIE
MUX3
ADIE
ACIC
MUX2
ADPS2
ACIS1
MUX1
ADPS1
ACIS0
MUX0
ADPS0
ADMUX
ADCSRA
ADCH
ADC Data Register High Byte
ADC Data Register Low byte
ADCL
PORTE
DDRE
PORTE7
DDE7
PORTE6
DDE6
PORTE5
DDE5
PORTE4
DDE4
PORTE3
DDE3
PORTE2
DDE2
PORTE1
DDE1
PORTE0
DDE0
87
9
2467OS–AVR–10/06