ATmega128A
5. Register Summary (Continued)
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
($62)
PORTF
DDRF
PORTF7
DDF7
–
PORTF6
DDF6
–
PORTF5
DDF5
–
PORTF4
DDF4
–
PORTF3
DDF3
–
PORTF2
DDF2
–
PORTF1
DDF1
–
PORTF0
DDF0
–
89
89
($61)
($60)
Reserved
SREG
$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)
I
T
H
S
V
N
Z
C
10
SPH
SP15
SP7
SP14
SP6
SP13
SP5
SP12
SP4
SP11
SP3
SP10
SP2
SP9
SP8
13
SPL
SP1
SP0
13
XDIV
XDIVEN
–
XDIV6
–
XDIV5
–
XDIV4
–
XDIV3
–
XDIV2
–
XDIV1
–
XDIV0
RAMPZ0
ISC40
INT0
38
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
ISC51
INT3
ISC50
INT2
INTF
TOIE1
TOV1
SM2
BORF
CS02
ISC41
INT1
INTF1
OCIE0
OCF0
IVSEL
EXTRF
CS01
91
92
INTF4
OCIE1A
OCF1A
SM1
INTF3
OCIE1B
OCF1B
SM0
INTF0
TOIE0
TOV0
IVCE
PORF
CS00
92
TIMSK
TIFR
110, 141, 162
110, 143, 162
MCUCR
MCUCSR
TCCR0
TCNT0
OCR0
33, 50, 63
–
JTRF
COM00
WDRF
WGM01
56, 257
106
109
109
109
134
137
139
139
139
139
139
139
140
140
159
161
162
276
57
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
86, 111, 146, 231
30
EEPROM Address Register High
EEPROM Address Register Low Byte
EEPROM Data Register
30
30
EECR
–
–
–
–
EERIE
PORTA3
DDA3
EEMWE
PORTA2
DDA2
EEWE
PORTA1
DDA1
EERE
PORTA0
DDA0
30
PORTA
DDRA
PORTA7
DDA7
PORTA6
DDA6
PORTA5
DDA5
PORTA4
DDA4
87
87
PINA
PINA7
PORTB7
DDB7
PINA6
PORTB6
DDB6
PINA5
PORTB5
DDB5
PINA4
PORTB4
DDB4
PINA3
PINA2
PINA1
PINA0
87
PORTB
DDRB
PORTB3
DDB3
PORTB2
DDB2
PORTB1
DDB1
PORTB0
DDB0
87
87
PINB
PINB7
PORTC7
DDC7
PINB6
PORTC6
DDC6
PINB5
PORTC5
DDC5
PINB4
PORTC4
DDC4
PINB3
PINB2
PINB1
PINB0
87
PORTC
DDRC
PORTC3
DDC3
PORTC2
DDC2
PORTC1
DDC1
PORTC0
DDC0
87
87
PINC
PINC7
PORTD7
DDD7
PINC6
PORTD6
DDD6
PINC5
PORTD5
DDD5
PINC4
PORTD4
DDD4
PINC3
PINC2
PINC1
PORTD1
DDD1
PINC0
PORTD0
DDD0
88
PORTD
DDRD
PORTD3
DDD3
PORTD2
DDD2
88
88
PIND
PIND7
PIND6
PIND5
PIND4
PIND3
PIND2
PIND1
PIND0
88
SPDR
SPI Data Register
173
173
171
192
193
194
197
231
245
247
248
248
88
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
PORTE7
PORTE6
PORTE5
PORTE4
PORTE3
PORTE2
PORTE1
PORTE0
19
8151GS–AVR–07/10