AN202
V1.0 | Page 21/73
www.cmostek.com
4.1.6
PORTC
(
Addr:0x07
)
Table 4-9. PORTC Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PORTC
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
Reset
X
X
X
X
X
X
X
X
Type
RW
RW
RW
RW
RW
RW
RW
RW
Table 4-10. PORTC Bit Function Description
4.1.7
INTCON
(
Addr:0x0B
)
Table 4-11. INTCON Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
INTCON
GIE
PEIE
T0IE
INTE
PAIE
T0IF
INTF
PAIF
Reset
0
0
0
0
0
0
0
0
Type
RW
RW
RW
RW
RW
RW
RW
RW
Table 4-12. INTCON Bit Function Description
Bit
Name
Function
7
PC7
PORTC7 data
6
PC6
PORTC6 data
5
PC5
PORTC5 data
4
PC4
PORTC4 data
3
PC3
PORTC3 data
2
PC2
PORTC2 data
1
PC1
PORTC1 data
0
PC0
PORTC0 data
Bit
Name
Function
7
GIE
GlobalInterrupt Enable bit
1 = Enable all unmasked interrupts
0 = Disable all interrupts
6
PEIE
PeripheralInterrupt Enable bit
1 = Enable all unmasked peripheral interrupts
0 = Disable allperipheral interrupts
5
T0IE
Timer0 Overflow Interrupt Enable bit
1 = Enable
0 = Disable
4
INTE
PA2/INT External InterruptEnable bit
1 = Enable
0 = Disable