ePVP6800
VFD Controller
7.3.7 IOCC (PORTC I/O Control)
a) PAGE 0 (PORTC I/O Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
IOCC3
R/W-1
Bit 2
IOCC2
R/W-1
Bit 1
IOCC1
R/W-1
Bit 0
IOCC0
R/W-1
-
-
-
-
-
-
-
-
Bit 0 ~ Bit 3 (IOCC0 ~ IOCC3) : PORTC(0~3) I/O direction control register
0 ꢂset the relative I/O pin as output
1 ꢂset the relative I/O pin into high impedance
0 ꢂPC6 (I/O PORTC6) pin is selected
1 ꢂDOUT pin is selected (N-channel,Open-Drain)
7.3.8 IOCD (Interrupt Mask, Prescaler of CN3 ~ CN5)
a) PAGE 0 (Interrupt Mask)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
CNT5
R/W-0
Bit 1
CNT4
R/W-0
Bit 0
CNT3
R/W-0
-
-
-
-
-
-
-
-
-
-
Bit 0 ~ 3 : Interrupt enable bit
0 ꢂdisable interrupt
1 ꢂenable interrupt
7.3.9 IOCF (Interrupt Mask )
a) PAGE 0 (Interrupt Mask Register)
Bit 7
INT4
Bit 6
INT3
Bit 5
INT2
Bit 4
INT1
Bit 3
IR
Bit 2
CNT2
R/W-0
Bit 1
CNT1
R/W-0
Bit 0
TCIF
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
Bit 0 ~ 7: Interrupt enable bit
0 ꢂdisable interrupt
1 ꢂenable interrupt
The status after interrupt and the interrupt source lists are as shown in the table below.
Interrupt Signal
IDLE Mode
GREEN Mode
NORMAL Mode
RA(7,6)=(1,0)
RA(7,6)=(x,0)
no SLEP
RA(7,6)=(x,1)
no SLEP
+ SLEP
1) Wake-up
TCC time out
IOCF bit0=1
And "ENI"
Interrupt
Interrupt
2) Interrupt (jump to Address 8 on
Page0)
(jump to Address 8 (jump to Address 8
on Page0)
3) After RETI instruction, jump to
SLEP Next instruction
on Page0)
1) Wake-up
COUNTER1 time out
IOCF bit1=1
Interrupt
Interrupt
2) Interrupt (jump to Address 8 on
Page0)
(jump to Address 8 (jump to Address 8
on Page0)
on Page0)
3) After RETI instruction, jump to
SLEP Next instruction
And "ENI"
COUNTER2 time out 1) Wake-up
24 of 47 11. 28.2004 (V1.23)
Interrupt
Interrupt
This specification is subject to change without further notice.