3.8.3 IO1SETTING
| Name: | IO1SETTING |
| Offset: | 0x03 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| IDLST1 | OD1SEL | PU1SEL | IO1DIR | IO1DES[1:0] | |||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
| Reset | 1 | 0 | 0 | 1 | 0 | 0 | |||
Bit 7 – IDLST1 IO1 Pin Idle or Default Output State Selection
| Value | Description |
|---|---|
| 0 | Idle
state default output value is logic
‘0’ |
| 1 | Idle
state or default output value is logic ‘1’ (factory
default) |
Bit 4 – OD1SEL IO1 Pin Open-Drain Selection
| Value | Description |
|---|---|
| 0 | The output pin is not an open-drain pin (factory default) |
| 1 | The output pin is an open-drain pin |
Bit 3 – PU1SEL IO1 Pin Pull-Up Enable
| Value | Description |
|---|---|
| 0 | The internal pull-up is disabled |
| 1 | The internal pull-up is enabled |
Bit 2 – IO1DIR IO1 Direction
| Value | Description |
|---|---|
| 0 | GPIO output |
| 1 | GPIO input (factory default) |
Bits 1:0 – IO1DES[1:0] IO1 Designation
| Value | Description |
|---|---|
| 00 | GPIO1 pin (GPIO1) (factory default) |
| 01 | Request-to-send (RTS): UART handshaking signal pin |
| 10 | SPI client chip select 2 pin (CS2) |
| 11 | I2C activity (I2CA) |
