Table 6.11.5-3 Registers Value After Power-On - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

The RTC controller provides time alarm mask register (RTC_TAMSK register) and calendar alarm
mask register (RTC_CAMSK register) to mask the specified digit and generate periodic interrupt
without changing the alarm match condition in RTC_TALM and RTC_CALM registers in each alarm
interrupt service routine.
6.11.5.9 Application Note
1.
All data in RTC_TALM, RTC_CALM, RTC_TIME and RTC_CAL registers are all expressed
in BCD format.
2.
User has to make sure that the loaded values are reasonable. For example, Load RTC_CAL
as 201a (year), 13 (month), 00 (day), or RTC_CAL does not match with RTC_WEEKDAY,
etc.
3.
In RTC_CAL and RTC_CALM, only 2 BCD digits are used to express "year". The 2 BCD
digits of xy means 20xy, rather than 19xy or 21xy.
4.
Example of 12-Hour Time Setting
If current RTC time is PM12:59:30 in 12-Hour Time Scale mode, the RTC_TIME setting as:
HOUR:
RTC_TIME[21:16]: 0x32 (0x12+0x20) combined by TENHR (RTC_TIME[21:20]) is 0x3, HR
(RTC_TIME[19:16]) is 0x2.
MIN:
RTC_TIME[14:8]: 0x59 combined by TENMIN (RTC_TIME[14:12]) is 0x5, MIN
(RTC_TIME[11:8]) is 0x9.
SEC:
RTC_TIME[6:0]:
(RTC_TIME[3:0]) is 0x0.
5.
Registers value after powered on:
Register
RTC_INIT
RTC_RWEN
RTC_CAL
RTC_TIME
RTC_CALM
RTC_TALM
RTC_CLKFMT
RTC_WEEKDAY
RTC_INTEN
RTC_INTSTS
RTC_LEAPYEAR
RTC_TICK
Sep 9, 2019
ISD94100 Series Technical Reference Manual
0x30
combined
by
Reset State
0
0
15/8/8 (year/month/day)
00:00:00 (hour : minute : second)
00/00/00 (year/month/day)
00:00:00 (hour : minute : second)
1 (24-hour mode)
6 (Saturday)
0
0
0
0

Table 6.11.5-3 Registers value after power-on

Page 548 of 928
TENSEC
(RTC_TIME[6:4])
is
0x3,
SEC
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents