English
Language : 

EPVP6800 Datasheet, PDF (30/47 Pages) ELAN Microelectronics Corp – VFD Controller
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 ~ 3 : Interrupt enable bit
0 disable interrupt
1 enable interrupt
Bit 0
CNT3
R/W-0
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
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
Bit 2
CNT2
R/W-0
Bit 1
CNT1
R/W-0
Bit 0
TCIF
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
24 of 47
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)
1) Wake-up
COUNTER1 time out 2) Interrupt (jump to Address 8 on
IOCF bit1=1
Page0)
And "ENI"
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
11. 28.2004 (V1.23)
This specification is subject to change without further notice.