STMicroelectronics STM32WLEx Reference Manual page 911

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
Bit 3 SHPF: Shift operation pending
Bit 2 WUTWF: Wakeup timer write flag
Bits 1:0 Reserved, must be kept at reset value.
30.6.5
RTC prescaler register (RTC_PRER)
This register must be written in initialization mode only. The initialization must be performed
in two separate write accesses. Refer to
page
896.
This register is write protected. The write access procedure is described in
write protection on page
Address offset: 0x10
Backup domain reset value: 0x007F 00FF
System reset: not affected
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
rw
rw
Bits 31:23 Reserved, must be kept at reset value.
Bits 22:16 PREDIV_A[6:0]: Asynchronous prescaler factor
Bit 15 Reserved, must be kept at reset value.
Bits 14:0 PREDIV_S[14:0]: Synchronous prescaler factor
This flag is set by hardware as soon as a shift operation is initiated by a write to the
RTC_SHIFTR register. It is cleared by hardware when the corresponding shift operation has
been executed. Writing to the SHPF bit has no effect.
0: No shift operation is pending
1: A shift operation is pending
This bit is set by hardware when WUT value can be changed, after the WUTE bit has been
set to 0 in RTC_CR.
It is cleared by hardware in initialization mode.
0: Wakeup timer configuration update not allowed except in initialization mode
1: Wakeup timer configuration update allowed
896.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
rw
rw
rw
rw
This is the asynchronous division factor:
ck_apre frequency = RTCCLK frequency/(PREDIV_A+1)
This is the synchronous division factor:
ck_spre frequency = ck_apre frequency/(PREDIV_S+1)
Calendar initialization and configuration on
24
23
22
Res.
Res.
rw
8
7
6
PREDIV_S[14:0]
rw
rw
rw
RM0461 Rev 5
Real-time clock (RTC)
RTC register
21
20
19
18
PREDIV_A[6:0]
rw
rw
rw
rw
5
4
3
2
rw
rw
rw
rw
17
16
rw
rw
1
0
rw
rw
911/1306
946

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents