|
XR21B1424_17 Datasheet, PDF (29/64 Pages) Exar Corporation – Enhanced 4-Ch Full-Speed USB UART | |||
|
◁ |
XR21B1424
GPIO_SET (0x00E) - Write-Only
This register controls pins configured as GPIO outputs. Pins configured for alternate functions via the GPIO_MODE register
are not controlled by this register. Writing a â1â to a bit position in this register sets the corresponding GPIO output high. Writ-
ing a â0â to a bit has no effect. For GPIO pins configured as inputs via the GPIO_DIRECTION register, this register has no
effect.
Bit
15:10
9:0
Default
0
Reserved
These bits are reserved and should be â0.â
0
GPIO Set of GPIO[9:0]
0: No effect on GPIOx pin.
1: GPIOx output is set to a â1.â
Description
GPIO_CLEAR (0x00F) - Write-Only
This register controls pins configured as GPIO outputs. Pins configured for alternate functions via the GPIO_MODE register
are not controlled by this register. Writing a â1â to a bit position in this register clears the corresponding GPIO output low.
Writing a â0â to a bit has no effect. For GPIO pins configured as inputs via the GPIO_DIRECTION register, this register has
no effect.
Bit
15:10
9:0
Default
0
Reserved
These bits are reserved and should be â0.â
0
GPIO Set of GPIO[9:0]
0: No effect on GPIOx pin.
1: GPIOx output is cleared to a â0â.
Description
GPIO_STATE (0x010) - Read/Write
Bit
15:10
9:0
Default
Description
0
Reserved
These bits are reserved and should be â0.â
0
GPIO State of GPIO[9:0]
Read returns state of all pins, whether GPIO or alternate function, input or output
0: Write clears the respective GPIO output to a â0â
1: Write sets the respective GPIO output to a â1â
29 / 64
exar.com/XR21B1424
Rev 1C
|
▷ |