ST7FL15F1MAE STMICROELECTRONICS [STMicroelectronics], ST7FL15F1MAE Datasheet - Page 42

no-image

ST7FL15F1MAE

Manufacturer Part Number
ST7FL15F1MAE
Description
8-bit MCU for automotive with single voltage Flash/ROM memory, data EEPROM, ADC, 5 timers, SPI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST7L15, ST7L19
POWER SAVING MODES (cont’d)
9.6.0.1 Register Description
AWUFH CONTROL/STATUS REGISTER
(AWUCSR)
Read/Write
Reset Value: 0000 0000 (00h)
Bits 7:3 = Reserved.
Bit 1 = 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
This bit enables the AWU RC oscillator and con-
nects its output to the input capture of the 12-bit
Auto-Reload timer. This allows the timer to meas-
ure 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
This bit enables the Auto Wake-Up From Halt fea-
ture: Once HALT mode is entered, the AWUFH
wakes up the microcontroller after a time delay de-
pendent on the AWU prescaler value. It is set and
cleared by software.
0: AWUFH (Auto Wake-Up From Halt) mode disa-
1: AWUFH (Auto Wake-Up From Halt) mode ena-
Table 7. AWU Register Map and Reset Values
42/138
1
bled
bled
7
0
Address
004Ah
(Hex.)
0049h
0
AWUPR
Reset Value
AWUCSR
Reset Value
0
Register
Label
0
0
AWUPR7
AWUF AWUM AWUEN
7
1
0
AWUPR6
6
1
0
0
AWUPR5
5
1
0
AWUFH PRESCALER REGISTER (AWUPR)
Read/Write
Reset Value: 1111 1111 (FFh)
Bits 7:0 = AWUPR[7:0] Auto Wake-Up Prescaler
These 8 bits define the AWUPR Dividing factor (as
explained below:
In AWU mode, the period that the MCU stays in
Halt Mode (t
fined by
This prescaler register can be programmed to
modify the time that the MCU stays in HALT mode
before waking up automatically.
Note: If 00h is written to AWUPR, depending on
the product, an interrupt is generated immediately
after a HALT instruction or the AWUPR remains
unchanged.
AWUP
R7
7
AWUPR4
AWUPR[7:0
t
4
1
0
AWU
AWUP
FEh
FFh
00h
01h
...
R6
AWUPR3
=
AWU
AWUP
]
64
R5
3
1
0
×
in
AWUPR
AWUP
Figure 27 on page
R4
AWUPR2
AWUF
×
2
1
AWUP
------------------------- -
f
Dividing factor
AWURC
R3
Forbidden
1
AWUPR1
AWUP
254
255
AWUM
...
1
R2
+
1
1
t
RCSTRT
AWUP
R1
40) is de-
AWUPR0
AWUEN
AWUP
0
1
R0
0

Related parts for ST7FL15F1MAE