EM78P156N
OTP ROM
4.5RESET andA RESET is initiated by one of the following events-
(1)Power on reset.
(2)/RESET pin input "low", or
(3)WDT
The device is kept in a RESET condition for a period of approx. 18ms1 (one oscillator
•The oscillator is running, or will be started.
•The Program Counter (R2) is set to all "0".
•All I/O port pins are configured as input mode
•The Watchdog timer and prescaler are cleared.
•When power is switched on, the upper 3 bits of R3 are cleared.
•The bits of the CONT register are set to all "1" except for the Bit 6 (INT flag).
•The bits of the IOCA register are set to all "1".
•The bits of the IOCB register are set to all "1".
•The IOCC register is cleared.
•The bits of the IOCD register are set to all "1".
•Bit 7 of the IOCE register is set to "1", and Bits 4 and 6 are cleared.
•Bits 0~2 of RF and bits 0~2 of IOCF register are cleared.
The sleep (power down) mode is asserted by executing the “SLEP” instruction. While entering sleep mode, WDT (if enabled) is cleared but keeps on running. The controller can be awakened by-
(1)External reset input on /RESET pin,
(2)WDT
(3)Port 6 input status changes (if enabled).
The first two cases will cause the EM78P156N to reset. The T and P flags of R3 can be used to determine the source of the reset
1NOTE: Vdd = 5V, set up time period = 16.8ms ± 30% Vdd = 3V, set up time period = 18ms ± 30%
This specification is subject to change without prior notice. 20 | 07.29.2004 (V1.2) |