Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
ST62T63CM6 Datasheet(PDF) 35 Page - STMicroelectronics |
|
ST62T63CM6 Datasheet(HTML) 35 Page - STMicroelectronics |
35 / 83 page 35/83 ST6253C ST6263C ST6263B ST6260C ST6260B POWER SAVING MODE (Cont’d) 3.5.3 Exit from WAIT and STOP Modes The following paragraphs describe how the MCU exits from WAIT and STOP modes, when an inter- rupt occurs (not a Reset). It should be noted that the restart sequence depends on the original state of the MCU (normal, interrupt or non-maskable in- terrupt mode) prior to entering WAIT or STOP mode, as well as on the interrupt type. Interrupts do not affect the oscillator selection. 3.5.3.1 Normal Mode If the MCU was in the main routine when the WAIT or STOP instruction was executed, exit from Stop or Wait mode will occur as soon as an interrupt oc- curs; the related interrupt routine is executed and, on completion, the instruction which follows the STOP or WAIT instruction is then executed, pro- viding no other interrupts are pending. 3.5.3.2 Non Maskable Interrupt Mode If the STOP or WAIT instruction has been execut- ed during execution of the non-maskable interrupt routine, the MCU exits from the Stop or Wait mode as soon as an interrupt occurs: the instruction which follows the STOP or WAIT instruction is ex- ecuted, and the MCU remains in non-maskable in- terrupt mode, even if another interrupt has been generated. 3.5.3.3 Normal Interrupt Mode If the MCU was in interrupt mode before the STOP or WAIT instruction was executed, it exits from STOP or WAIT mode as soon as an interrupt oc- curs. Nevertheless, two cases must be consid- ered: – If the interrupt is a normal one, the interrupt rou- tine in which the WAIT or STOP mode was en- tered will be completed, starting with the execution of the instruction which follows the STOP or the WAIT instruction, and the MCU is still in the interrupt mode. At the end of this rou- tine pending interrupts will be serviced in accord- ance with their priority. – In the event of a non-maskable interrupt, the non-maskable interrupt service routine is proc- essed first, then the routine in which the WAIT or STOP mode was entered will be completed by executing the instruction following the STOP or WAIT instruction. The MCU remains in normal interrupt mode. Notes: To achieve the lowest power consumption during RUN or WAIT modes, the user program must take care of: – configuring unused I/Os as inputs without pull-up (these should be externally tied to well defined logic levels); – placing all peripherals in their power down modes before entering STOP mode; When the hardware activated Watchdog is select- ed, or when the software Watchdog is enabled, the STOP instruction is disabled and a WAIT instruc- tion will be executed in its place. If all interrupt sources are disabled (GEN low), the MCU can only be restarted by a Reset. Although setting GEN low does not mask the NMI as an in- terrupt, it will stop it generating a wake-up signal. The WAIT and STOP instructions are not execut- ed if an enabled interrupt request is pending. |
Número de pieza similar - ST62T63CM6 |
|
Descripción similar - ST62T63CM6 |
|
|
Enlace URL |
Política de Privacidad |
ALLDATASHEET.ES |
¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |