SNLA308A April 2019 – October 2020 DS90UB941AS-Q1 , DS90UH941AS-Q1
GPIO_1_and_GPIO_2_Config is described in Table 11-5.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | GPIO2_OUTPUT_VALUE_D_GPIO2_OUTPUT_VALUE | R/W | 0h | GPIO1/GPIO2 and D_GPIO1/D_GPIO2 Configuration. If PORT1_SEL is set ,this register controls the D_GPIO1 and D_GPIO2 pins. Local GPIO Output Value. This value is output on the GPIO pin when the GPIO function is enabled, the local GPIO direction is Output, and remote GPIO control is disabled. This value is also output to the GPIO pin in Remote_Default mode if the link is lost. |
6-4 | GPIO2_MODE_D_GPIO2_MODE | R/W | 0h | GPIO 2 Mode. Determines operating mode for the GPIO pin: x00: Functional input mode, I2S_DC input x10: Tri-State 001: GPIO mode, output 011: GPIO mode, input 101: Remote-Hold - output remote data, maintain data on link-loss 111: Remote-Default - output remote data Drive default data (OUTPUT VALUE) on link-loss |
3 | GPIO1_OUTPUT_VALUE_D_GPIO1_OUTPUT_VALUE | R/W | 0h | Local GPIO Output Value. This value is output on the GPIO pin when the GPIO function is enabled, the local GPIO direction is Output, and remote GPIO control is disabled. This value is also output to the GPIO pin in Remote-Default mode if the link is lost. |
2-0 | GPIO1_MODE_D_GPIO1_MODE | R/W | 0h | GPIO 1 Mode. Determines operating mode for the GPIO pin: x00: Functional input mode, I2S_DC input x10: Tri-State 001: GPIO mode, output 011: GPIO mode, input 101: Remote-Hold - output remote data, maintain data on link-loss 111: Remote-Default - output remote data Drive default data (OUTPUT VALUE) on link-loss |