3.8.2 IO0SETTING
| Name: | IO0SETTING |
| Offset: | 0x02 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| IDLST0 | ALRT0EG[1:0] | OD0SEL | PU0SEL | IO0DIR | IO0DES[1:0] | ||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |
Bit 7 – IDLST0
| Value | Description |
|---|---|
| 0 | Idle state
default output value is logic ‘0’ |
| 1 | Idle state
or default output value is logic ‘1’ |
Bits 6:5 – ALRT0EG[1:0] Alert0 or Interrupt0 Pin Edge Selection
| Value | Description |
|---|---|
| 00 | Alert or interrupt disabled |
| 01 | Falling edge |
| 10 | Rising edge |
| 11 | Both edge |
Bit 4 – OD0SEL IO0 Pin Open-Drain Selection
| Value | Description |
|---|---|
| 0 | The output pin is not an open-drain pin |
| 1 | The output pin is an open-drain pin |
Bit 3 – PU0SEL IO0 Pin Pull-Up Enable
| Value | Description |
|---|---|
| 0 | The internal pull-up is disabled |
| 1 | The internal pull-up is enabled (factory default) |
Bit 2 – IO0DIR IO0 Direction
| Value | Description |
|---|---|
| 0 | GPIO output |
| 1 | GPIO input (factory default) |
Bits 1:0 – IO0DES[1:0] IO0 Designation
| Value | Description |
|---|---|
| 00 | GPIO0 pin (GPIO0) (factory default) |
| 01 | Clear-to-Send (CTS): UART handshaking signal Pin (CTS) |
| 10 | SPI client chip select 3 pin (CS3) |
| 11 | Alert0 or Interrupt0 pin (ALRT0) |
