English
Language : 

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