STEVAL-TCS003V1 STMicroelectronics, STEVAL-TCS003V1 Datasheet - Page 34
STEVAL-TCS003V1
Manufacturer Part Number
STEVAL-TCS003V1
Description
BOARD DEMO EXPANDER STMPE2403
Manufacturer
STMicroelectronics
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
GPIO controller
34/63
The function of each bit is shown in the following table:
Table 33. Bit function
GPIO Edge Detect Status
GPIO Monitor Pin State
GPIO Set Pin Direction
GPIO Clear Pin State
GPIO Set Pin State
GPIO Falling Edge
GPIO Rising Edge
GPIO Pull Down
Register Name
GPIO Pull Up
Reading this bit yields the current state of the bit. Writing has no
effect.
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘1’
state. Writing ‘0’ has no effect.
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘0’
state. Writing ‘0’ has no effect.
‘0’ sets the corresponding GPIO to input state, and ‘1’ sets it to
output state
Set to ‘1’ by hardware when there is a rising/falling edge on the
corresponding GPIO. Writing ‘1’ clears the bit. Writing ‘0’ has no
effect.
Set to ‘1’ to enable rising edge detection on the corresponding
GPIO.
Set to ‘1’ to enable falling edge detection on the corresponding
GPIO.
Set to ‘1’ to enable internal pull-up resistor
Set to ‘1’ to enable internal pull-down resistor
Function
STMPE2403