3.8.7 IO5SETTING

Name: IO5SETTING
Offset: 0x07
Property: -

Bit 76543210 
 IDLST5ALRT3EG[1:0]OD5SELPU5SELIO5DIRIO5DES[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00101111 

Bit 7 – IDLST5 IO5 Pin Idle or Default Output State Selection

This is valid only when the pin is configured as an output pin.
ValueDescription
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

This is valid only when the pin is configured as the ALRT3 pin.
ValueDescription
00 Alert or interrupt disabled
01 Falling edge (factory default)
10 Rising edge
11 Both edge

Bit 4 – OD5SEL IO5 Pin Open-Drain Selection

This is valid only when the pin is configured as an output.
ValueDescription
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

This is valid only when the pin is configured as an input.
ValueDescription
0 The internal pull-up is disabled
1 The internal pull-up is enabled (factory default)

Bit 2 – IO5DIR IO5 Direction

Input or output.
ValueDescription
0 GPIO output
1 GPIO input (factory default)

Bits 1:0 – IO5DES[1:0] IO5 Designation

Input or output.
ValueDescription
00 GPIO5 pin (GPIO5)
01 USB host is suspended (USBSPND)
10 SPI activity (SPIA)
11 Alert3 or Interrupt3 pin (ALRT3) (factory default)