Chapter 3
eSL/eSLS Series (+ eSLZ000) User’s Manual
Peripheral Control
••••
67
3.2.2 Real Time Clock Control Register
Referring to the above block diagram (Figure 3-2), F
32K
is divided by the
divider for RTC clock which F
32K
value is contingent to the selected external
RC/X’tal oscillator circuit.
For example, if you want to use RTCS3 (see table below) with clock F
32K
/2,
then you need to set–
1) Referring to the table below, select the divider for RTCS3 clock, i.e.,
Set RTCCON[7:6] = 01 with “2” as divider
2) Enable RTC: set RTCCON[15] = 1
The Real Time Clock Control (RTCCON) Register
Attributes and
Resources:
RTCCON
Bit
DIR.
Description
Reset
Value
RTCEN
[15]
R/W
RTC enable/disable
:
0
= Disable,
1
= Enable
0
RTCWKUP3
[11]
R/W
1:
RTCS3 enable wakeup;
0:
disable
0
RTCWKUP2
[10]
R/W
1:
RTCS2 enable wakeup;
0:
disable
0
RTCWKUP1
[9]
R/W
1:
RTCS1 enable wakeup;
0:
disable
0
RTCWKUP0
[8]
R/W
1:
RTCS0 enable wakeup;
0:
disable
0
RTCS3
[7:6]
R/W
F
32K
divided by divider for RTCS3 clock
:
00:
1/1 (32 kHz)
01: 1/2 (16 kHz)
10:
1/4 (8 kHz)
11:
1/8 (4 kHz)
00
RTCS2
[5:4]
R/W
F
32K
divided by divider for RTCS2
:
00:
1/16 (2 kHz)
01:
1/32 (1 kHz)
10:
1/64 (512 Hz)
11:
1/128 (256 Hz)
00
RTCS1
[3:2]
R/W
F
32k
divided by divider for RTCS1
:
00:
1/256 (128 Hz)
01:
1/512 (64 Hz)
10:
1/1K (32 Hz)
11:
1/2K (16 Hz)
00
RTCS0
[1:0]
R/W
F
32K
divided by divider for RTCS0
:
00:
1/4K(8 Hz)
01:
1/8K (4 Hz)
10:
1/16K (2 Hz)
11:
1/32K (1 Hz)
00
Содержание eSL Series
Страница 8: ...Contents viii Contents eSL eSLS Series eSLZ000 User s Manual...
Страница 11: ...Contents eSL eSLS Series eSLZ000 User s Manual Contents xi...
Страница 12: ......
Страница 28: ......
Страница 110: ...Chapter 3 98 Peripheral Control eSL eSLS Series eSLZ000 User s Manual BC IO INTF1 ADIF RETI...
Страница 115: ...Chapter 3 eSL eSLS Series eSLZ000 User s Manual Peripheral Control 103...
Страница 148: ......
Страница 154: ...Chapter 4 142 Electrical Characteristics eSL eSLS Series eSLZ000 User s Manual...