English
Language : 

XR21B1424_17 Datasheet, PDF (54/64 Pages) Exar Corporation – Enhanced 4-Ch Full-Speed USB UART
XR21B1424
PIN_CFG_CLK (0x024) - Read/Write OTP
This register configures the functionality of the GPIO6/CLK pin.
Bit
7
6
5:2
1:0
Default
Description
0
PULLUP_EN
This register bit is used to enable the internal pull-up resistor. This setting will be ignored if GPIO6/CLK is configured as an
output.
0: Do not enable internal pull-up
1: Enable internal pull-up if configured as an input
0
PULLDOWN_EN
This register bit is used to enable the internal pull-down resistor. This setting will be ignored if GPIO6/CLK is configured as an
output.
0: Do not enable internal pull-down
1: Enable internal pull-down if configured as an input (will not be enabled if Pull up is enabled)
0
RESERVED
These bits are reserved and should be written as ’0’.
0
CTRL
00: GPIO6/CLK is configured as a GPIO input
01: GPIO6/CLK is configured as a GPIO open drain output
10: GPIO6/CLK is configured as a GPIO push-pull output
11: GPIO6/CLK is configured as a push-pull CLK output
PIN_CFG_RTS (0x025) - Read/Write OTP
This register configures the functionality of the GPIO5/RTS#/RS485 pin.
Bit
7
6
5:3
2:0
Default
Description
0
PULLUP_EN
This register bit is used to enable the internal pull-up resistor. This setting will be ignored if GPIO5/RTS#/RS485 is configured
as an output.
0: Do not enable internal pull-up
1: Enable internal pull-up if configured as an input
0
PULLDOWN_EN
This register bit is used to enable the internal pull-down resistor. This setting will be ignored if GPIO5/RTS#/RS485 is config-
ured as an output.
0: Do not enable internal pull-down
1: Enable internal pull-down if configured as an input (will not be enabled if Pull up is enabled)
0
RESERVED
These bits are reserved and should be written as ’0’.
0
CTRL
Note: If configured as RTS output, GPIO4/CTS# must be configured as CTS input and GPIO2/DSR# and GPIO3/DTR# must
be configured as GPIOs.
000: GPIO5/RTS#/RS485 is configured as a GPIO input
001: GPIO5/RTS#/RS485 is configured as a GPIO open drain output
010: GPIO5/RTS#/RS485 is configured as a GPIO push-pull output
011: GPIO5/RTS#/RS485 is configured as a open drain RTS output
100: GPIO5/RTS#/RS485 is configured as a push-pull RTS output
54 / 64
exar.com/XR21B1424
Rev 1C