beautypg.com

I/o memory – Rainbow Electronics ATmega103L User Manual

Page 19

background image

ATmega603/103

19

I/O Memory

The I/O space definition of the ATmega603/103 is shown in the following table:

Table 3. ATmega603/103 I/O Space

I/O Address (SRAM Address)

Name

Function

$3F ($5F)

SREG

Status REGister

$3E ($5E)

SPH

Stack Pointer High

$3D ($5D)

SPL

Stack Pointer Low

$3C ($5C)

XDIV

XTAL Divide Control Register

$3B ($5B)

RAMPZ

RAM Page Z Select Register

$3A ($5A)

EICR

External Interrupt Control Register

$39 ($59)

EIMSK

External Interrupt MaSK register

$38 ($58)

EIFR

External Interrupt Flag Register

$37 ($57)

TIMSK

Timer/Counter Interrupt MaSK register

$36 ($56)

TIFR

Timer/Counter Interrupt Flag register

$35 ($55)

MCUCR

MCU General Control Register

$34 ($54)

MCUSR

MCU Status Register

$33 ($53)

TCCR0

Timer/Counter0 Control Register

$32 ($52)

TCNT0

Timer/Counter0 (8-bit)

$31 ($51)

OCR0

Timer/Counter0 Output Compare Register

$30 ($50)

ASSR

Asynchronous Mode Status Register

$2F ($4F)

TCCR1A

Timer/Counter1 Control Register A

$2E ($4E)

TCCR1B

Timer/Counter1 Control Register B

$2D ($4D)

TCNT1H

Timer/Counter1 High Byte

$2C ($4C)

TCNT1L

Timer/Counter1 Low Byte

$2B ($4B)

OCR1AH

Timer/Counter1 Output Compare Register A High Byte

$2A ($4A)

OCR1AL

Timer/Counter1 Output Compare Register A Low Byte

$29 ($49)

OCR1BH

Timer/Counter1 Output Compare Register B High Byte

$28 ($48)

OCR1BL

Timer/Counter1 Output Compare Register B Low Byte

$27 ($47)

ICR1H

Timer/Counter1 Input Capture Register High Byte

$26 ($46)

ICR1L

Timer/Counter1 Input Capture Register Low Byte

$25 ($45)

TCCR2

Timer/Counter2 Control Register

$24 ($44)

TCNT2

Timer/Counter2 (8-bit)

$23 ($43)

OCR2

Timer/Counter2 Output Compare Register

$21 ($41)

WDTCR

Watchdog Timer Control Register

$1F ($3F)

EEARH

EEPROM Address Register High

$1E ($3E)

EEARL

EERPOM Address Register Low

$1D ($3D)

EEDR

EEPROM Data Register

$1C ($3C)

EECR

EEPROM Control Register