em78p5842 ELAN Microelectronics Corp, em78p5842 Datasheet - Page 25
![no-image](/images/manufacturer_photos/0/2/215/elan_microelectronics_corp_sml.jpg)
em78p5842
Manufacturer Part Number
em78p5842
Description
8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet
1.EM78P5842.pdf
(45 pages)
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
IOCF (Interrupt mask)
(Interrupt mask register)
Interrupt signal
TCC time out
IOCF bit0=1
And "ENI"
COUNTER1 time out
IOCF bit1=1
And "ENI"
PORT70
Only at IRC mode or
crystal mode
(at P70S = 0)
PORT71
Only at P71S = 0
PORT73
IOCF bit3 bit7 =1
And "ENI"
ADI
IOCE bit5 = 1
And “ENI
PWM1
IOCE bit4 = 1
And “ENI
R/W-0
INT3
Bit7
Bit 0~1; 3~4 ; Bit 7 : interrupt enable bit
Bit 2, 5~6 : (remain these values to “0”othwise it will generate unpredicted interrupts)
0 Î disable interrupt
1 Î enable interrupt
The status after interrupt and the interrupt sources list as the table below.
PORT70 's interrupt function is controlled by IOCF bit 3. It's falling edge or rising edge trigger (controlled
PORT71 's interrupt function is controlled by IOCF bit 4. It’s falling edge trigger.
PORT73 's interrupt function is controlled by IOCF bit 7. They are falling edge trigger.
by CONT register bit7).
ADI interrupt source function is controlled by RE PAGE0 bit 5. It is rising edge trigger after ADC
sample complete.
Bit6
X
-
ENI
DISI
Bit5
X
-
SLEEP mode
RESET and Jump to
address 0
No function
No function
RESET and Jump to
address 0
RESET and Jump to
address 0
RESET and Jump to
address 0
No function
No function
R/W-0
INT1
Bit4
R/W-0
INT0
Bit3
23
GREEN mode
Interrupt (jump to address 8
at page0)
No function
Interrupt (jump to address 8
at page0)
Interrupt
(jump to address 8 at page0)
Interrupt
(jump to address 8 at page0)
Interrupt
(jump to address 8 at page0)
No function
Interrupt
(jump to address 8 at page0)
Bit2
X
-
R/W-0
CNT1
Bit1
R/W-0
TCIF
Bit0
EM785840/5841/5842
NORMAL mode
Interrupt (jump to address 8
at page0)
No function
Interrupt (jump to address 8
at page0)
Interrupt
(jump to address 8 at
page0)
Interrupt
(jump to address 8 at
page0)
Interrupt
(jump to address 8 at
page0)
Interrupt
(jump to address 8 at
page0)
Interrupt
(jump to address 8 at
page0)
8-bit Micro-controller
2004/11/10 V1.2