JAJSLG0B April 2021 – March 2023 TSER953
PRODUCTION DATA
The status HIGH or LOW of each GPIO pin 0 through 3 may be read through the GPIO_PIN_STS register 0x53. This register read operation provides the status of the GPIO pin when it is configured as an input by setting the corresponding GPIOx_INPUT_EN bit on register (0x0E). To read the GPIO status when the GPIO is used as output, both GPIOx_INPUT_EN and GPIOx_OUT_EN bits on register (0x0E) should be set.
Configuration | Valid | Valid | Valid | Not Valid |
---|---|---|---|---|
Purpose | GPIO used as Output | GPIO used as Output | GPIO used as Input | GPIO used as Input |
GPIOx_INPUT_EN | 0 | 1 | 1 | 1 |
GPIOx_OUT_EN | 1 | 1(1) | 0 | 1 |
GPIO_STS | non-functional | functional | functional | N/A |