STMPE821_09 STMICROELECTRONICS [STMicroelectronics], STMPE821_09 Datasheet - Page 25

no-image

STMPE821_09

Manufacturer Part Number
STMPE821_09
Description
8-channel capacitive touch key controller
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
STMPE821
The function of each bit is shown in the following table:
Table 9.
GPIO monitor pin state
GPIO set pin state
GPIO set pin direction
GPIO function
Register name
GPIO control bits function
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' to this bit causes the corresponding GPIO to go to '0' state
'0' sets the corresponding GPIO to input state, and '1' sets it to output
state. All bits are '0' on reset. The GPIO must be set as output if the
PWM on this pin is to be used.
'1' sets the corresponding GPIO to function as GPIO/PWM, and '0'
sets it to touch key mode.
For GPIO 0-3, if the GPIO function is set to GPIO/PWM mode and the
AF bits in the PWM master enable register is enabled, the
corresponding GPIO will function as PWM output.
Function
GPIO controller
25/55

Related parts for STMPE821_09