eorex
EU1010
Special Function Register (SFR)
Special function register area is during the addresses from $00H to $22H. These special function
registers control all I/O and timer function setting. Some of memory addresses are not defined and
un-used. It is unnecessary for the users to read or write data from these undefined areas. User should
follow the default value or do not access these undefined area. All its functions are listed in next
sections.
Interrupt and Timers
Address 00H
Bit7
Bit6
#
Bit5
#
Bit4
T1INT
R/W
0
Bit3
T0INT
R/W
0
Bit2
PBINT
R/W
0
Bit1
TBINT
R/W
0
Bit0
RTCINT
R/W
NAME INTEN ADINT
Read or Write
Default Value
R/W
0
#
#
#
#
0
The EU1010 builds in 8 interrupt sources: Real Time Clock interrupt, Time Base interrupt, PB input ports
falling edge interrupt, Timer0 underflow interrupt, Timer1 underflow interrupt, A/D converter interrupt and
RESET interrupt. By setting control register INTEN (00H) that can enable or disable corresponding
interrupt sources. Interrupt source, interrupt vector address mapping and its priority are shown in the
following table.
Address
Interrupt Source
ADC interrupt
Timer1 interrupt
Timer0 interrupt
PB port interrupt
Time base interrupt
RTC interrupt
Reset
Priority
2FFF0H/2FF1H
2FF2H/2FF3H
2FF4H/2FF5H
2FF6H/2FF7H
2FF8H/2FF9H
2FFAH/2FFBH
2FFCH/2FFDH
2FFEH/2FFFH
7
6
5
4
3
2
1
0
Reserved
Feb.2009
www.eorex.com
5/21