eorex
RTC timer, Base timer interrupt and Watch Dog timer
EU1010
Address
03H
Bit7
#
W
0
Bit6
BASE1
W
0
Bit5
BASE0
W
0
Bit4
RTC1
W
0
Bit3
RTC0
W
0
Bit2
Bit1
Bit0
RESEL0
W
0
NAME UCCLK
Read or Write
Default Value
RCSEL2 RCSEL1
W
0
W
0
Real time counter
The EU1010
build-in a real time counter interrupt and its clock source is Fosc. Its frequency could be
optioned by UCCLK.4 & UCCLK.3 that could select real time interrupt frequency. For example, if the
clock source come from ExCLK (when CKSEL=1) and the input frequency is 32,768Hz, select “[RTC1,
RTC0] = [0, 1]” and it will cause 2Hz interrupt when real time counter interrupt enabled (RTCINT=1) &
(RTCEN=1).
RTC1
0
0
1
1
RTC0
0
1
0
1
T
RTC
T
T
/32
T
T
/64
T
T
/128
T
T
/256
Feb.2009
6/21
www.eorex.com