11 / 98 page
GMS81C1404/GMS81C1408
SEP. 2004 Ver 1.3
7
PIN NAME
Pin No.
In/Out
Function
VDD
5
-
Supply voltage
VSS
22
-
Circuit ground
RESET
21
I
Reset signal input
XIN
19
I
XOUT
20
O
RA0 (EC0)
25
I/O (Input)
8-bit general I/O ports
External Event Counter input 0
RA1 (AN1)
26
I/O (Input)
Analog Input Port 1
RA2 (AN2)
27
I/O (Input)
Analog Input Port 2
RA3 (AN3)
28
I/O (Input)
Analog Input Port 3
RA4 (AN4)
1
I/O (Input)
Analog Input Port 4
RA5 (AN5)
2
I/O (Input)
Analog Input Port 5
RA6 (AN6)
3
I/O (Input)
Analog Input Port 6
RA7 (AN7)
4
I/O (Input)
Analog Input Port 7
RB0 (AVref/AN0)
6
I/O (Input)
8-bit general I/O ports
Analog Input Port 0 / Analog Reference
RB1 (BUZ)
7
I/O (Input)
Buzzer Driving Output
RB2 (INT0)
8
I/O (Input)
External Interrupt Input 0
RB3 (INT1)
9
I/O (Output)
External Interrupt Input 1
RB4 (PWM0/COMP0)
10
I/O (Output/Output)
PWM0 Output or Timer1 Compare Output
RB5 (PWM1/COMP1)
11
I/O (Output/Output)
PWM1 Output or Timer3 Compare Output
RB6 (EC1)
12
I/O (Output/Output)
External Event Counter input 1
RB7 (TMR2OV)
13
I/O (Output/Output)
Timer2 Overflow Output
RC3 (SRDYIN/SRDYOUT)14
I/O (Input/Output)
4-bit general I/O ports
SPI READY Input/Output
RC4 (SCK)
15
I/O (Input/Output)
SPI CLK Input/Output
RC5 (SIN)
16
I/O (Input)
SPI DATA Input
RC6 (SOUT)
17
I/O (Output)
SPI DATA Output
RD0 (INT2)
23
I/O (Input)
3-bit general I/O ports
External Interrupt Input 2
RD1 (INT3)
24
I/O (Input)
External Interrupt Input 3
RD2
18
I/O
Table 5-5 Pin Description