ST7LUS5, ST7LU05, ST7LU09
Power saving modes
8.5.1
Register description
AWUFH control/status register (AWUCSR)
AWUCSR
7
6
5
4
Reserved
-
Reset value: 0000 0000 (00h)
3
2
1
0
AWUF
AWUM AWUEN
R/W
R/W
R/W
Table 22. AWUCSR register description
Bit Name
Function
t(s) 7:3
-
Reserved
Auto wake-up flag
Product(s) 2 AWUF
This bit is set by hardware when the AWU module generates an interrupt and
cleared by software on reading AWUCSR. Writing to this bit does not change its
value.
0: No AWU interrupt occurred
1: AWU interrupt occurred
lete uc Auto wake-up measurement
) - Obsolete Prod 1 AWUM
This bit enables the AWU RC oscillator and connects its output to the input capture
of the 8-bit lite timer. This allows the timer to be used to measure the AWU RC
oscillator dispersion and then compensate this dispersion by providing the right
value in the AWUPRE register.
0: Measurement disabled
1: Measurement enabled
t(s so Auto wake-up from halt enabled
Product(s) - Ob 0 AWUEN
This bit enables the auto wake-up from halt feature: Once halt mode is entered, the
AWUFH wakes up the microcontroller after a time delay dependent on the AWU
prescaler value. It is set and cleared by software.
0: AWUFH (auto wake-up from halt) mode disabled
1: AWUFH (auto wake-up from halt) mode enabled
Note: Whatever the clock source, this bit should be set to enable the AWUFH mode
OObbssoolleettee Produc once the HALT instruction has been executed.
55/124