WT6702F Data Sheet v0.93
Copyright 2006 Weltrend Semiconductor, Inc. All Rights Reserved.
Weltrend reserves right to modify all information contained in this document without notice.
- 6 -
2.2. Pin Description
(a) All GPIOs have Schmitt trigger input.
(b) When use Slave IIC or 8051 P1.x (or UART), the external circuit need pull high(4.7kΩ)
(c) GPIOA3, GPIOA2, GPIOA1, GPIOA0 MAX input are +3.6v(=3.3v+0.3v)
and the other GPIOs MAX input is +5v (5v tolerant PAD)
S240
S200
S161
Pin
Name
I/O
Function Description
23
19
16
VDD PWR
Power 3.3V
24
20
16
VDD_RTC
PWR
RTC Power (<3.3V)
1 1 1 32KOSCO
O 32kHz oscillator output
2 2 2 32KOSCI
I 32kHz oscillator input
3 3 3 VSS GND
Ground
4 4 4 NRST I Reset pin, active low (internal pull high)
5 5 5 GPIOC1
I/O
PWM1 output. Shared with GPIO C1
6 GPIOC0
I/O
PWM0 output. Shared with GPIO C0
7 6 6 GPIOB7
I/O
8051 UART RXD or external IRQ3 interrupt input. Shared with GPIO
B7
8 7 7 GPIOB6
I/O
8051 UART TXD or external IRQ2 interrupt input. Shared with GPIO
B6
9 8 8 GPIOB5
I/O
HIN input. Shared with GPIO B5
10
9 9 GPIOB4
I/O
VIN input. Shared with GPIO B4
11
10
GPIOB3
I/O
8051 P1.3 or external IRQ1 interrupt input. Shared with GPIO B3
12
GPIOB2
I/O
8051 P1.2 or external IRQ0 interrupt input. Shared with GPIO B2
13
11
10
GPIOB1
I/O
2
nd
slave IIC SDA2. Shared with GPIO B1
14
12
11
GPIOB0
I/O
2
nd
slave IIC SCL2. Shared with GPIO B0
15
13
12
GPIOA7
I/O
1
st
slave IIC SDA1. Shared with GPIO A7
16
14
13
GPIOA6
I/O
1
st
slave IIC SCL1. Shared with GPIO A6
17
15
GPIOA5
I/O
3
rd
slave IIC SDA or 8051 P1.1. Shared with GPIO A5
18
16
GPIOA4
I/O
3
rd
slave IIC SCL or 8051 P1.0. Shared with GPIO A4
19
17
14
GPIOA3
I/O
Key pad ADC input3 or IR detector input. Shared with GPIO A3
20
GPIOA2
I/O
Key pad ADC input2. Shared with GPIO A2
21
GPIOA1
I/O
Key pad ADC input1. Shared with GPIO A1
22
18
15
GPIOA0
I/O
Key pad ADC input0. Shared with GPIO A0