ST72T331 STMICROELECTRONICS [STMicroelectronics], ST72T331 Datasheet - Page 24

no-image

ST72T331

Manufacturer Part Number
ST72T331
Description
8-BIT MCU WITH 8 TO 16K OTP/EPROM, 256 EEPROM, 384 TO 512 BYTES RAM, ADC, WDG, SCI, SPI AND 2 TIMERS
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72T331J25
Manufacturer:
ST
0
Part Number:
ST72T331J4SKIT
Manufacturer:
ST
0
Part Number:
ST72T331J4T3S
Manufacturer:
ST
0
Part Number:
ST72T331J4T6
Manufacturer:
ST
0
Part Number:
ST72T331J4T6S
Manufacturer:
ST
0
Part Number:
ST72T331N2
Manufacturer:
ST
Quantity:
20 000
ST72E331 ST72T331
4.4 POWER SAVING MODES
4.4.1 Introduction
There are three Power Saving modes. Slow Mode
is selected by setting the relevant bits in the Mis-
cellaneous register. Wait and Halt modes may be
entered using the WFI and HALT instructions.
4.4.2 Slow Mode
In Slow mode, the oscillator frequency can be di-
vided by a value defined in the Miscellaneous
Register. The CPU and peripherals are clocked at
this lower frequency. Slow mode is used to reduce
power consumption, and enables the user to adapt
clock frequency to available supply voltage.
4.4.3 Wait Mode
Wait mode places the MCU in a low power con-
sumption mode by stopping the CPU. All peripher-
als remain active. During Wait mode, the I bit (CC
Register) is cleared, so as to enable all interrupts.
All other registers and memory remain unchanged.
The MCU will remain in Wait mode until an Inter-
rupt or Reset occurs, whereupon the Program
Counter branches to the starting address of the In-
terrupt or Reset Service Routine.
The MCU will remain in Wait mode until a Reset or
an Interrupt occurs, causing it to wake up.
Refer to
24/107
24
Figure 18
below.
Figure 18. WAIT Flow Chart
Note: Before servicing an interrupt, the CC register is
pushed on the stack. The I-Bit is set during the inter-
rupt routine and cleared when the CC register is
popped.
N
INTERRUPT
Y
OSCILLATOR
PERIPH. CLOCK
CPU CLOCK
I-BIT
N
OSCILLATOR
PERIPH. CLOCK
CPU CLOCK
I-BIT
OSCILLATOR
PERIPH. CLOCK
CPU CLOCK
OR SERVICE INTERRUPT
I-BIT
FETCH RESET VECTOR
WFI INSTRUCTION
4096 CPU CLOCK
CYCLES DELAY
RESET
Y
ON
ON
OFF
CLEARED
ON
ON
ON
SET
ON
ON
ON
SET

Related parts for ST72T331