em78p134n ELAN Microelectronics Corp, em78p134n Datasheet - Page 27

no-image

em78p134n

Manufacturer Part Number
em78p134n
Description
8-bit Microcontroller With Otp Rom
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.6) 06.02.2010
(This specification is subject to change without further notice)
Table 5-1 Usage of Port 6 Input Change Wake-up/Interrupt Function
(I) Wake-up from Port 6 Input Status Change
(a) Before Sleep
(b) After Wake-up
P60
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" → Interrupt vector (006H)
2. IF "DISI" → Next instruction
P61
P62
P63
P64
P65
P66
P67
Figure 5-8 Block Diagram of I/O Port 6 with input Change Interrupt/Wake-up
/SLEP
Usage of Port 6 Input Status Change Wake-up/Interrupt
D
CLK
ICIE
P
R
C
L
Q
Q
_
(II) Port 6 Input Status Change Interrupt
8-Bit Microcontroller with OTP ROM
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 (006H)
D
CLK
ICIF
P
R
C
L
Q
Q
_
Q
Q
_
P
R
C
L
(Wake-up from SLEEP)
(Wake-up from SLEEP)
EM78P134N
CLK
D
Next Instruction
ENI Instruction
DISI Instruction
Interrupt
Interrupt
• 21

Related parts for em78p134n