stmpe610 STMicroelectronics, stmpe610 Datasheet - Page 43

no-image

stmpe610

Manufacturer Part Number
stmpe610
Description
Advanced Touch Screen Controller With 6-bit Port Expander
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STMPE610
Manufacturer:
ST
0
Part Number:
stmpe610QTR
Manufacturer:
ST
0
STMPE610
12
GPIO controller
A total of 6 GPIOs are available in the STMPE610 port expander device. Most of the GPIOs
share physical pins with some alternate functions. The GPIO controller contains the
registers that allow the host system to configure each of the pins into either a GPIO, or one
of the alternate functions. Unused GPIOs should be configured as outputs to minimize
power consumption.
A group of registers are used to control the exact function of each of the 6 GPIOs. The
registers and their respective addresses are listed in the following table.
Table 17.
All GPIO registers are named as GPIO-x, where x represents the functional group.
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
GPIO-7
Address
7
GPIO-6
GPIO control registers
6
GPIO_SET_PIN
GPIO_CLR_PIN
GPIO_MP_STA
GPIO_DIR
GPIO_ED
GPIO_RE
GPIO_FE
GPIO_ALT_FUNCT
Register name
GPIO-5
5
GPIO-4
4
GPIO-3
3
Size
(bit)
8
8
8
8
8
8
8
8
GPIO-2
2
RESERVED
Set pin register
Clear pin state
Monitor pin state
Set pin direction
Edge detect status
Rising edge detection
enable
Falling edge detection
enable
Alternate function register
1
Function
GPIO controller
RESERVED
0
43/58

Related parts for stmpe610