EM78P809N

8-Bit Microcontroller

„The Watchdog timer and prescaler are cleared.

„Upon power on, the upper 2 bits of R3 are cleared.

„Upon power on, the upper 2 bits of R4 are cleared.

„Upon power on, the upper 3 bits of R5 are cleared.

„The bits of CONT register are set to all “1” except bit 6 (INT flag).

„ISFR0, ISFR1, ISFR2 register and IMR1, IMR2 registers are cleared. The controller has two modes for power saving.

(1) SLEEP mode: R5 (SIS) = 1, SLEP instruction.

The internal oscillator is turned off and all system operation is halted.

(2) IDLE mode: R5 (SIS)= 0, SLEP instruction

The CPU core halts but the on-chip peripheral and oscillator circuit remain active.

4.14.2 Wake-up from SLEEP Mode:

(1) External /SLEEP pin

The controller will be waken up and execute the next instruction after entering SLEEP mode. All the registers will maintain their original values before “SLEP” instruction was executed.

(2) /RESET pin pull low

This will reset the controller and starts the program at address zero.

(3) WDT time out

This will reset the controller and run the program at address zero.

4.14.3 Wake-up from IDLE mode:

(1) All interrupt

In all these cases, user should always enable the circuit before entering IDLE mode. After wake-up, all registers will maintain their original values before entering “SLEP” instruction, then service an interrupt subroutine or proceed with next instruction by setting individual interrupt enable bit. After servicing an interrupt sub-routine (“RETI” instruction), the program will jump from “SLEP” instruction to the next instruction.

(2) /RESET pin pull low

This will reset the controller and run the program at address zero.

(3) WDT time out

This will reset the controller and run the program at address zero.

48

Product Specification (V1.0) 07.26.2005

(This specification is subject to change without further notice)

Page 52
Image 52
IBM EM78P809N manual Wake-up from Sleep Mode, Wake-up from Idle mode, All interrupt