Datasheet
287
ATmega48/88/168 Automotive [DATASHEET]
7530K–AVR–07/14
(0xBD) TWAMR TWAM6 TWAM5 TWAM4 TWAM3 TWAM2 TWAM1 TWAM0 – 185
(0xBC) TWCR TWINT TWEA TWSTA TWSTO TWWC TWEN
–TWIE182
(0xBB) TWDR 2-wire serial interface data register 184
(0xBA) TWAR TWA6 TWA5 TWA4 TWA3 TWA2 TWA1 TWA0 TWGCE 184
(0xB9) TWSR TWS7 TWS6 TWS5 TWS4 TWS3
– TWPS1 TWPS0 183
(0xB8) TWBR 2-wire serial interface bit rate register 182
(0xB7) Reserved
– – – – – – –
(0xB6) ASSR
– EXCLK AS2 TCN2UB OCR2AUB OCR2BUB TCR2AUB TCR2BUB 135
(0xB5) Reserved
– – – – – – – –
(0xB4) OCR2B Timer/Counter2 output compare register B 132
(0xB3) OCR2A Timer/Counter2 output compare register A 132
(0xB2) TCNT2 Timer/Counter2 (8-bit) 132
(0xB1) TCCR2B FOC2A FOC2B
– – WGM22 CS22 CS21 CS20 131
(0xB0) TCCR2A COM2A1 COM2A0 COM2B1 COM2B0
– –WGM21WGM20 129
(0xAF) Reserved
– – – – – – – –
(0xAE) Reserved
– – – – – – – –
(0xAD) Reserved
– – – – – – – –
(0xAC) Reserved
– – – – – – – –
(0xAB) Reserved
– – – – – – – –
(0xAA) Reserved
– – – – – – – –
(0xA9) Reserved
– – – – – – – –
(0xA8) Reserved
– – – – – – – –
(0xA7) Reserved
– – – – – – – –
(0xA6) Reserved
– – – – – – – –
(0xA5) Reserved
– – – – – – – –
(0xA4) Reserved
– – – – – – – –
(0xA3) Reserved
– – – – – – – –
(0xA2) Reserved
– – – – – – – –
(0xA1) Reserved
– – – – – – – –
(0xA0) Reserved
– – – – – – – –
(0x9F) Reserved
– – – – – – – –
(0x9E) Reserved
– – – – – – – –
(0x9D) Reserved
– – – – – – – –
(0x9C) Reserved
– – – – – – – –
29. Register Summary (Continued)
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Page
Notes: 1. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory
addresses should never be written.
2. I/O registers within the address range 0x00 - 0x1F are directly bit-accessible using the SBI and CBI instructions. In
these registers, the value of single bits can be checked by using the SBIS and SBIC instructions.
3. Some of the status flags are cleared by writing a logical one to them. Note that, unlike most other AVR
®
, the CBI and
SBI instructions will only operate on the specified bit, and can therefore be used on registers containing such status
flags. The CBI and SBI instructions work with registers 0x00 to 0x1F only.
4. When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing
I/O registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The
ATmega48/88/168 is a complex microcontroller with more peripheral units than can be supported within the 64 location
reserved in opcode for the IN and OUT instructions. For the extended I/O space from 0x60 - 0xFF in SRAM, only the
ST/STS/STD and LD/LDS/LDD instructions can be used.
5. Only valid for Atmel
®
ATmega88/168