
ePVP6800
VFD Controller
24 of 47
11. 28.2004
(V1.23)
This specification is subject to change without further notice.
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
Bit 2
Bit 1
Bit 0
-
-
-
-
IOCC3
IOCC2
IOCC1
IOCC0
-
-
-
-
R/W-1
R/W-1
R/W-1
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
Bit 1
Bit 0
-
-
-
-
-
CNT5
CNT4
CNT3
-
-
-
-
-
R/W-0
R/W-0
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
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
INT4
INT3
INT2
INT1
IR
CNT2
CNT1
TCIF
R/W-0
R/W-0
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)
+ SLEP
RA(7,6)=(x,0)
no SLEP
RA(7,6)=(x,1)
no SLEP
TCC time out
IOCF bit0=1
And "ENI"
1) Wake-up
2) Interrupt (jump to Address 8 on
Page0)
3) After RETI instruction, jump to
SLEP Next instruction
Interrupt
(jump to Address 8
on Page0)
Interrupt
(jump to Address 8
on Page0)
COUNTER1 time out
IOCF bit1=1
And "ENI"
1) Wake-up
2) Interrupt (jump to Address 8 on
Page0)
3) After RETI instruction, jump to
SLEP Next instruction
Interrupt
(jump to Address 8
on Page0)
Interrupt
(jump to Address 8
on Page0)
COUNTER2 time out 1) Wake-up
Interrupt
Interrupt