eorex
EU1010
RTC timer, Base timer interrupt and Watch Dog timer
Address 03H
NAME UCCLK
Read or Write
Default Value
Bit7
#
Bit6
BASE1
W
Bit5
BASE0
W
Bit4
RTC1
W
Bit3
RTC0
W
Bit2
Bit1
Bit0
RCSEL2 RCSEL1 RESEL0
W
0
W
0
W
0
W
0
0
0
0
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
RTC0
TRTC
TT/32
TT/64
TT/128
TT/256
0
0
1
1
0
1
0
1
Feb.2009
www.eorex.com
6/21