
Obsolete Product(s) - Obsolete Product(s)
Obsolete Product(s) - Obsolete Product(s)
ST7LITEUS2, ST7LITEUS5
Power saving modes
57/136
8.5.1 Register
description
AWUFH Control/ Status register (AWUCSR)
Reset value: 0000 0000 (00h)
AWUFH Prescaler register (AWUPR)
Reset value: 1111 1111 (FFh)
7
0
0
0
0
0
0
AWU
F
AWUM
AWUEN
Read/Write
Bits 7:3 Reserved
Bit 2
AWUF
Auto-wakeup 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-wakeup Measurement
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-wakeup From Halt Enabled
This bit enables the Auto-wakeup 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-wakeup From Halt) mode disabled
1: AWUFH (Auto-wakeup From Halt) mode enabled
Note: Whatever the clock source, this bit should be set to enable the AWUFH
mode once the HALT instruction has been executed.
7
0
AWUPR7
AWUPR6
AWUPR5
AWUPR4
AWUPR3
AWUPR2
AWUPR1
AWUPR0
Read/Write
Bits 7:0
AWUPR[7:0]
Auto-wakeup Prescaler
These 8 bits define the AWUPR Dividing factor (see
)
Obsolete Product(s) - Obsolete Product(s)