eZ80L92 MCU
Product Specification
90
Real Time Clock Registers
The real time clock registers are accessed via the address and data bus using I/O
instructions. RTC_UNLOCK controls access to the RTC count registers. When unlocked
(RTC_UNLOCK = 1), the RTC count is disabled and the count registers are Read/Write.
When locked (RTC_UNLOCK = 0), the RTC count is enabled and the count registers are
Read-Only. The default, at RESET, is for the RTC to be locked.
Real Time Clock Seconds Register
This register contains the current seconds count. The value in the RTC_SEC register is
unchanged by a RESET. The current setting of BCD_EN determines whether the values in
this register are binary (BCD_EN = 0) or binary-coded decimal (BCD_EN = 1). Access to
this register is Read-Only if the RTC is locked and Read/Write if the RTC is unlocked.
See Table 38.
Table 38. Real Time Clock Seconds Register (RTC_SEC = 00E0h)
Bit
7
6
5
4
3
2
1
0
X
X
X
X
X
X
X
X
Reset
R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W*
CPU Access
Note: X = Unchanged by RESET; R/W* = Read-only if RTC locked, Read/Write if RTC unlocked.
Binary-Coded-Decimal Operation (BCD_EN = 1)
Bit
Position
Value Description
[7:4]
TEN_SEC
0–5
0–9
The tens digit of the current seconds count.
The ones digit of the current seconds count.
[3:0]
SEC
Binary Operation (BCD_EN = 0)
Bit
Position
Value
Description
[7:0]
SEC
00h–3Bh The current seconds count.
PS013015-0316
Real Time Clock Alarm