STEVAL-TCS003V1 STMicroelectronics, STEVAL-TCS003V1 Datasheet - Page 35

BOARD DEMO EXPANDER STMPE2403

STEVAL-TCS003V1

Manufacturer Part Number
STEVAL-TCS003V1
Description
BOARD DEMO EXPANDER STMPE2403
Manufacturer
STMicroelectronics
Datasheets

Specifications of STEVAL-TCS003V1

Main Purpose
Interface, GPIO Expander
Embedded
No
Utilized Ic / Part
STMPE2403
Primary Attributes
8/16/24-Bit 24-Port GPIO Expander over I2C
Secondary Attributes
3 8-Bit PWM Output for LEDs, Keyboard Matrix Scan, Special Key Support
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-8206

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STEVAL-TCS003V1
Manufacturer:
ST
0
STMPE2403
10.2
GPIO Alternate Function Register (GPAFR)
GPAFR is to select the functionality of the GPIO pin. To select a function for a GPIO pin, a
bit-pair in the register (GPAFR_U or GPAFR_L) has to be set.
Table 34. Bit description
23:0
Bits
Reset
Reset
Reset
Value
Value
Value
R/W
R/W
R/W
Bit
Bit
Bit
Name
AF[x]
RW
RW
RW
23
15
0
0
7
0
GPIO Pin ‘x’ Alternate Function Select (where x = 23 to 12).
‘00’ – The corresponding GPIO pin (GPIO[x]) is configured to Primary Function.
‘01’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate Function 1.
‘10’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate Function 2.
‘11’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate Function 3.
AF23
AF19
AF15
RW
RW
RW
22
14
0
0
6
0
RW
RW
RW
21
13
0
0
5
0
AF22
AF18
AF14
GPAFR_U_msb
GPAFR_U_csb
RW
RW
RW
GPAFR_U_lsb
20
12
0
0
4
0
Description
RW
RW
RW
19
11
0
0
3
0
AF21
AF17
AF13
RW
RW
RW
18
10
0
0
2
0
RW
RW
RW
GPIO controller
17
0
9
0
1
0
AF20
AF16
AF12
RW
RW
RW
16
0
8
0
0
0
35/63

Related parts for STEVAL-TCS003V1