English
Language : 

ST7FOXU0 Datasheet, PDF (56/123 Pages) STMicroelectronics – 1 additional output line
Power saving modes
ST7FOXU0
8.5.1
8.5.2
Register description
AWUFH Control/Status Register (AWUCSR)
Reset value: 0000 0000 (00h)
Note:
7
0
0
0
0
0
0
AWU
F
AWUM AWUEN
Read / Write
Bits 7:3 = Reserved
Bit 2 = AWUF Auto Wake Up flag
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
Bit 1 = AWUM Auto Wake Up Measurement bit
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
Bit 0 = AWUEN Auto Wake Up From Halt Enabled bit
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
Whatever the clock source, this bit should be set to enable the AWUFH mode once the
HALT instruction has been executed.
56/123