Download ADC Phase 5 Microprocessor AD-170 Datasheet
Transcript
ST7LITE20F2 ST7LITE25F2 ST7LITE29F2 Power saving modes Figure 25. HALT mode flowchart HALT instruction (ACTIVE-HALT disabled) (AWUCSR.AWUEN=0) Watchdog ENABLE WDGHALT (1) DISABLE 0 1 Watchdog reset Oscillator Peripherals (2) CPU I bit N N OFF OFF OFF 0 Reset Y Interrupt (3) Y Oscillator Peripherals CPU I bit ON OFF ON X 4) 256 or 4096 CPU clock cycle delay(5) Oscillator Peripherals CPU I bit ON ON ON X 4) Fetch reset vector or service interrupt 1. WDGHALT is an option bit (see Section 15.1: Option bytes for more details). 2. Peripheral clocked with an external clock source can still be active. 3. Only some specific interrupts can exit the MCU from HALT mode (such as external interrupt). Refer to Table 12: Interrupt mapping for more details. 4. Before servicing an interrupt, the CC register is pushed on the stack. The I bit of the CC register is set during the interrupt routine and cleared when the CC register is popped. 5. If the PLL is enabled by option byte, it outputs the clock after a delay of tSTARTUP (see Figure 12: PLL output frequency timing diagram). 9.4.1 HALT mode recommendations • Make sure that an external event is available to wake up the microcontroller from Halt mode. • When using an external interrupt to wake up the microcontroller, reinitialize the corresponding I/O as “Input Pull-up with Interrupt” before executing the HALT DocID8349 Rev 7 57/170 169