THCV235-Q_THCV236-Q_Rev.3.40_E
Copyright
©
2016 THine Electronics, Inc.
THine Electronics, Inc.
35/68
Security E
GPIO
The GPIO pin provides up to 5-I/O ports (THCV235-Q) or 3-I/O ports (THCV236-Q) and 2 types of GPIO are
available (“Through GPIO” and “Programmable GPIO”). The number of available GPIO pin depends on
Sub-Link operation mode settings (See Table 34 and Table 35). All GPIO pins have another function if being set
(See 0, Table 2). GPIO type is selected by GPIO_TYPE register (0x40(Sub-Link Master), 0xC0(Sub-Link
Slave)). Programmable GPIO is available by all GPIO pins. Through GPIO is available by only GPIO4 and
GPIO3 pin. See Through GPIO section and Programmable GPIO section about detail of respective GPIO type.
Table 33.
GPIO Type
GPIO#
GPIO Type
Through GPIO
Programmable GPIO
GPIO4
Available
Available
GPIO3
GPIO2
Unavailable
GPIO1
GPIO0
Table 34.
GPIO setting of THCV235-Q
Pin Name
Function
Sub-Link
Master
Sub-Link
Slave
LATEN/SD3/AIN1/GPIO4
AIN1
GPIO4
CMLDRV/SD2/AIN0/GPIO3
AIN0
GPIO3
COL0/INT/GPIO2
INT
GPIO2
BET/GPIO1
GPIO1
GPIO1
SSEN/GPIO0
GPIO0
GPIO0
Table 35.
GPIO setting of THCV236-Q
Pin Name
Function
Sub-Link
Master
Sub-Link
Slave
RXDEFSEL=0
RXDEFSEL=1
D25/GPIO4
GPIO4
D25
D25
D24/GPIO3
GPIO3
D24
D24
COL0/INT/GPIO2
INT
INT
GPIO2
TTLDRV/SD2/AIN0/GPIO1 AIN0
AIN0
GPIO1
LATEN/SD3/AIN1/GPIO0
AIN1
AIN1
GPIO0