EasyManua.ls Logo

Cmsemicon CMS32L051 - Alarm Week Register (ALARMWW); Port Mode Register and Port Register

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 7 Real-Time Clock
www.mcu.com.cn 236 / 703
7.3.15 Alarm week register (ALARMWW)
This is the register that sets the alarm for the week.
The ALARMWW register is set via an 8-bit memory operation command. After the reset signal is
generated, the value of this register becomes 00H.
Figure 7-16 Format of alarm week register (ALARMWW)
Address: 0x40044F5CH after reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
ALARMWW
An example of setting the alarm time is as follows.
Time of Alarm
Day
12 hours
24-hour
Sund
ay
Mond
ay
Tues
day
Wedn
esday
Thurs
day
Frida
y
Satur
day
Hour
10
Hour
1
Minut
e 10
Minu
te 1
Hour
10
Hour
1
Minut
e 10
Minu
te 1
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
I
n
0
1
2
3
4
5
6
Every day
0:00 a.m
1
1
1
1
1
1
1
1
2
0
0
0
0
0
0
Every day
1.30 a.m
1
1
1
1
1
1
1
0
1
3
0
0
1
3
0
Every day
11.59 a.m
1
1
1
1
1
1
1
1
1
5
9
1
1
5
9
Mon ~ Fri
0:00 p.m
0
1
1
1
1
1
0
3
2
0
0
1
2
0
0
Sunday
1:30 p.m
1
0
0
0
0
0
0
2
1
3
0
1
3
3
0
Mon, Wed, Fri
11:59 p.m
0
1
0
1
0
1
0
3
1
5
9
2
3
5
9
7.3.16 Port mode register and port register
When the multiplexed port of the RTC1HZ output pin is output at 1Hz, the bits of the port-mode control
register (PMCxx), the bits of the port-mode register (PMxx), and the port register (Pxx) corresponding to each
port must be used) set to 0.
The Port Mode Register (PMxx), Port Register (Pxx), and Port Mode Control Register (PMCxx) set vary
by product. For details, please refer to 2.5 Register Settings When Using the Multiplexing Function.
0
InW6
InW5
InW4
InW3
InW2
WW1
InW0

Table of Contents

Related product manuals