datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

EM78P156EL View Datasheet(PDF) - Elan Microelectronics Corp

Part Name
Description
View to exact match
EM78P156EL
ELAN
Elan Microelectronics Corp ELAN
EM78P156EL Datasheet PDF : 55 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
EM78P156EL
OTP ROM
Table 4 Usage of Port 6 Input Change Wake-up/Interrupt Function
Usage of Port 6 input status changed Wake-up/Interrupt
(I) Wake-up from Port 6 Input Status Change
(a) Before SLEEP
1. Disable WDT1 (using very carefully)
2. Read I/O Port 6 (MOV R6,R6)
3. Execute "ENI" or "DISI"
4. Enable interrupt (Set IOCF.1)
5. Execute "SLEP" instruction
(b) After Wake-up
1. IF "ENI" Interrupt vector (008H)
2. IF "DISI" Next instruction
(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)
VCC
Weakly
Pull-up
ROC
PCRD
Q
P
R
D
CLK
QC
L
PCWR
PORT
QPD
IOD
R
QC
L
PDWR
PDRD
Rex*
0M
1
U
X
*The Rex is 430K ohm external resistor
Fig. 8 The Circuit of I/O Port with R-option(P50,P51)
1 NOTE: Software disables WDT (watchdog timer) but hardware must be enabled before applying
Port 6 Change Wake-Up function. (CODE Option Register and Bit 11 (ENWDTB-) set to
“1”).
This specification is subject to change without prior notice.
19
07.29.2004 (V1.3)
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]