3.8.7 IO5SETTING
| Name: | IO5SETTING |
| Offset: | 0x07 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| IDLST5 | ALRT3EG[1:0] | OD5SEL | PU5SEL | IO5DIR | IO5DES[1:0] | ||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | |
Bit 7 – IDLST5 IO5 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) |
Bits 6:5 – ALRT3EG[1:0] Alert3 or Interrupt3 Pin Edge Selection
| Value | Description |
|---|---|
| 00 | Alert or interrupt disabled |
| 01 | Falling edge (factory default) |
| 10 | Rising edge |
| 11 | Both edge |
Bit 4 – OD5SEL IO5 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 – PU5SEL IO5 Pin Pull-Up Enable
| Value | Description |
|---|---|
| 0 | The internal pull-up is disabled |
| 1 | The internal pull-up is enabled (factory default) |
Bit 2 – IO5DIR IO5 Direction
| Value | Description |
|---|---|
| 0 | GPIO output |
| 1 | GPIO input (factory default) |
Bits 1:0 – IO5DES[1:0] IO5 Designation
| Value | Description |
|---|---|
| 00 | GPIO5 pin (GPIO5) |
| 01 | USB host is suspended (USBSPND) |
| 10 | SPI activity (SPIA) |
| 11 | Alert3 or Interrupt3 pin (ALRT3) (factory default) |
