st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 73

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
8.3
Wait mode
Wait mode places the MCU in a low power consumption mode by stopping the CPU.
This power saving mode is selected by calling the ‘WFI’ instruction.
All peripherals remain active. During Wait mode, the I[1:0] bits of the CC register are forced
to ‘10’, to enable all interrupts. All other registers and memory remain unchanged. The MCU
remains in Wait mode until an interrupt or reset occurs, whereupon the program counter
branches to the starting address of the interrupt or reset service routine.
The MCU remains in Wait mode until a reset or an interrupt occurs, causing it to wake up.
Refer to
Figure 23. Wait mode flow-chart
1. Before servicing an interrupt, the CC register is pushed on the stack. The I[1:0] bits of the CC register are
set to the current software priority level of the interrupt routine and recovered when the CC register is
popped.
Figure
23.
N
WFI instruction
Interrupt
Y
Oscillator
Peripherals
CPU
I[1:0] bits
Oscillator
Peripherals
CPU
N
Oscillator
Peripherals
CPU
I[1:0] bits
I[1:0] bits
256 or 4096 CPU clock
Fetch reset vector or
service interrupt
cycle delay
Y
Reset
XX
On
On
On
On
On
Off
On
Off
On
10
10
(1)
Power saving modes
73/371

Related parts for st7pmc2s6