SNLS643C March 2019 – April 2024 DS90UB953A-Q1
PRODUCTION DATA
The status HIGH or LOW of each GPIO pin 0 through 3 can be read through the GPIO_PIN_STS register 0x53. This register read operation provides the status of the GPIO pin when 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) must 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 | 0 | 1 |
GPIO_STS | non-functional | functional(1) | functional | N/A |