EM78P153EN EMC [ELAN Microelectronics Corp], EM78P153EN Datasheet - Page 17

no-image

EM78P153EN

Manufacturer Part Number
EM78P153EN
Description
EM78P153E is an 8-bit microprocessor with low-power and high-speed CMOS technology
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM78P153EN
Manufacturer:
EM
Quantity:
870
Part Number:
EM78P153EN
Manufacturer:
EMC
Quantity:
20 000
This specification is subject to change without prior notice.
4.5 RESET and Wake-up
Table 2 Usage of Port 6 Input Change Wake-up/Interrupt Function
1. RESET
(I) Wake-up from Port 6 Input Status Change
A RESET is initiated by
The device is kept in a RESET condition for a period of approx. 18ms
period) after the reset is detected. Once the RESET occurs, the following functions are performed.
Refer to Fig.9.
1
(a) Before SLEEP
(b) After Wake-up
<Note>: Vdd = 5V, set up time period = 16.5ms ± 5%
(1) Power on reset.
(2) /RESET pin input "low", or
(3) WDT time-out (if enabled).
• 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 (high-impedance state).
• 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 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 6 is cleared.
• Bits 0~2 of RF and Bits 0~2 of IOCF register are cleared.
1. Disable WDT
2. Read I/O Port 6 (MOV R6,R6)
3. Execute "ENI" or "DISI"
4. Enable interrupt (Set IOCF.1)
5. Execute "SLEP" instruction
1. IF "ENI"
2. IF "DISI"
Vdd = 3V, set up time period = 18ms ± 5%
Interrupt vector (008H)
Next instruction
Usage of Port 6 Input Status Change Wake-up/Interrupt
17
(II) Port 6 Input Status Change Interrupt
1. Read I/O Port 6 (MOV R6,R6)
2. Execute "ENI"
3. Enable interrupt (Set IOCF.1)
4. IF Port 6 change (interrupt)
Interrupt vector (008H)
1
(one oscillator start-up timer
EM78P153E
OTP ROM
2002/03/01

Related parts for EM78P153EN