STMPE321 ST Microelectronics, STMPE321 Datasheet - Page 22

no-image

STMPE321

Manufacturer Part Number
STMPE321
Description
3-channel capacitive touch key controller
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STMPE321QTR
Manufacturer:
MICREL
Quantity:
54
www.DataSheet4U.com
GPIO controller
7
22/40
IO-7
7
7
GPIO controller
A total of 3 GPIOs are available in the STMPE321. The GPIO controller contains the
registers that allow the host system to configure each of the pins into either a GPIO or Touch
input. Unused GPIOs should be configured as outputs to minimize power consumption.
A group of registers is used to control the exact function of each of the 8 GPIOs. The
registers and their respective addresses are listed in
Table 8.
All GPIO registers are named GPxx, where:
Xxx represents the functional group
For LSB registers:
For MSB registers:
IO-6
6
6
Address
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
GPIO controller registers summary map
IO-5
5
5
IO-4
GPIO_FUNCT_MSB
GPIO_FUNCT_LSB
4
4
GPIO_SET_MSB
GPIO_SET_LSB
GPIO_DIR_MSB
GPIO_MR_MSB
GPIO_DIR_LSB
GPIO_MR_LSB
Register name
Doc ID 15791 Rev 1
RESERVED
IO-3
3
3
GPIO monitor pin state
register
GPIO set pin state
register
GPIO set pin direction
register
GPIO function register
IO-2
2
2
Description
Table 8.
IO-1
1
1
Auto-increment
Yes
Yes
Yes
Yes
STMPE321
IO-0
0
0

Related parts for STMPE321