stmpe16m31 STMicroelectronics, stmpe16m31 Datasheet - Page 33

no-image

stmpe16m31

Manufacturer Part Number
stmpe16m31
Description
S-touch? 16/24-channel Touchkey Controller With Pwm And Ratio Engines
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
stmpe16m31PXQTR
Manufacturer:
STM
Quantity:
12 495
Part Number:
stmpe16m31QTR
Manufacturer:
ST
Quantity:
20 000
STMPE16M31, STMPE24M31
9
GPIO_DIR
Address:
Type:
Reset:
Description:
LSB (0x10)
MSB (0x11)
IO-15
IO-7
RW
RW
7
0
7
0
GPIO controller
A total of 16 GPIOs are available in the STMPE24M31/STMPE16M31. Most of the GPIOs
are sharing 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 the
power consumption.
Table 11.
[7:0] IO - X
Address
IO-14
IO-6
RW
RW
0x10
0x12
0x14
0x16
6
0
6
0
Write ‘1’ to a bit to set the corresponding I/O to output.
Write ‘0’ to a bit to set the corresponding I/O to input.
0x10 – 0x11
RW
0x00
Direction seeting of the GPIO.
GPIO controller registers
IO-13
IO-5
RW
RW
Register name
5
0
5
0
GPMR
GPDR
GPSR
GPFR
Doc ID 16174 Rev 3
IO-12
IO-4
RW
RW
4
0
4
0
Reset value
0X0000
0X0000
0X0000
0X0000
IO-11
IO-3
RW
RW
3
0
3
0
R/W
R/W
R/W
R/W
R/W
IO-10
IO-2
RW
RW
GPIO direction register
GPOIO monitor pin state register
GPIO set pin register
GPIO alternate function register
2
0
2
0
GPIO direction register
Description
IO-1
IO-9
RW
RW
1
0
1
0
GPIO controller
IO-0
IO-8
RW
RW
0
0
0
0
33/85

Related parts for stmpe16m31