
EM785840/5841/5842
8-bit Micro-controller
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
2004/11/10 V1.2
IOCF (Interrupt mask)
(Interrupt mask register)
Bit7
INT3
R/W-0
Bit 0~1; 3~4 ; Bit 7 : interrupt enable bit
0
disable interrupt
1
enable interrupt
Bit 2, 5~6 : (remain these values to “0”othwise it will generate unpredicted interrupts)
The status after interrupt and the interrupt sources list as the table below.
Interrupt signal
SLEEP mode
RESET and Jump to
address 0
IOCF bit0=1
And "ENI"
Bit6
X
-
Bit5
X
-
Bit4
INT1
R/W-0
Bit3
INT0
R/W-0
Bit2
X
-
Bit1
CNT1
R/W-0
Bit0
TCIF
R/W-0
GREEN mode
Interrupt (jump to address 8
at page0)
NORMAL mode
Interrupt (jump to address 8
at page0)
ENI
TCC time out
DISI
No function
No function
No function
COUNTER1 time out
IOCF bit1=1
And "ENI"
PORT70
Only at IRC mode or
crystal mode
(at P70S = 0)
No function
RESET and Jump to
address 0
RESET and Jump to
address 0
RESET and Jump to
address 0
No function
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)
PORT71
Only at P71S = 0
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)
PORT73
IOCF bit3 bit7 =1
And "ENI"
Interrupt
(jump to address 8 at page0)
ADI
IOCE bit5 = 1
And “ENI
PWM1
IOCE bit4 = 1
And “ENI
PORT70 's interrupt function is controlled by IOCF bit 3. It's falling edge or rising edge trigger (controlled
by CONT register bit7).
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.
ADI interrupt source function is controlled by RE PAGE0 bit 5. It is rising edge trigger after ADC
sample complete.
No function
Interrupt
(jump to address 8 at page0)