Datasheet

ATmega48PA/88PA/168PA [DATASHEET]
9223F–AVR–04/14
314
(0x74) Reserved
(0x73) Reserved
(0x72) Reserved
(0x71) Reserved
(0x70) TIMSK2
OCIE2B OCIE2A TOIE2 141
(0x6F) TIMSK1
–ICIE1 OCIE1B OCIE1A TOIE1 121
(0x6E) TIMSK0
OCIE0B OCIE0A TOIE0 95
(0x6D) PCMSK2 PCINT23 PCINT22 PCINT21 PCINT20 PCINT19 PCINT18 PCINT17 PCINT16 63
(0x6C) PCMSK1
PCINT14 PCINT13 PCINT12 PCINT11 PCINT10 PCINT9 PCINT8 63
(0x6B) PCMSK0 PCINT7 PCINT6 PCINT5 PCINT4 PCINT3 PCINT2 PCINT1 PCINT0 63
(0x6A) Reserved
(0x69) EICRA
ISC11 ISC10 ISC01 ISC00 60
(0x68) PCICR
PCIE2 PCIE1 PCIE0
(0x67) Reserved
(0x66) OSCCAL Oscillator Calibration Register 33
(0x65) Reserved
(0x64) PRR PRTWI PRTIM2 PRTIM0
PRTIM1 PRSPI PRUSART0 PRADC 37
(0x63) Reserved
(0x62) Reserved
(0x61) CLKPR CLKPCE
CLKPS3 CLKPS2 CLKPS1 CLKPS0 33
(0x60) WDTCSR WDIF WDIE WDP3 WDCE WDE WDP2 WDP1 WDP0 48
0x3F (0x5F) SREG I T H S V N Z C 9
0x3E (0x5E) SPH
–(SP10)
(5)
SP9 SP8 12
0x3D (0x5D) SPL SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0 12
0x3C (0x5C) Reserved
0x3B (0x5B) Reserved
0x3A (0x5A) Reserved
0x39 (0x59) Reserved
0x38 (0x58) Reserved
0x37 (0x57) SPMCSR SPMIE (RWWSB)
(5)
–(RWWSRE)
(5)
BLBSET PGWRT PGERS SELFPRGEN 249
0x36 (0x56) Reserved
0x35 (0x55) MCUCR
–BODS
(6)
BODSE
(6)
PUD IVSEL IVCE 39/58/79
0x34 (0x54) MCUSR
WDRF BORF EXTRF PORF 48
0x33 (0x53) SMCR
SM2 SM1 SM0 SE 36
0x32 (0x52) Reserved
31. 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 AVRs, 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 Atmel
ATmega48PA/88PA/168PA 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 the Atmel ATmega48PA/88PA/168PA.
6. BODS and BODSE only available for picoPower devices ATmega48PA/88PA/168PA