English
Language : 

XR21B1422IL40-0A Datasheet, PDF (52/60 Pages) Exar Corporation – Enhanced 2-Ch Full-Speed USB UART
XR21B1422
PIN_CFG_RS485 (0x027) - Read/Write OTP
This register configures the functionality of the GPIO7/RS485 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 GPIO7/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 GPIO7/RS485 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
Note: If configured as CTS input, GPIO5/RTS# must be configured as RTS# output and GPIO2/DSR# and GPIO3/DTR#
must be configured as GPIOs.
00: GPIO7/RS485 is configured as a GPIO input
01: GPIO7/RS485 is configured as a GPIO open drain output
10: GPIO7/RS485 is configured as a GPIO push-pull output
11: GPIO7/RS485 is configured as a push-pull auto. RS-485 half-duplex enable output
PIN_CFG_TXT (0x028) - Read/Write OTP
This register configures the functionality of the GPIO8/TXT 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 GPIO8/TXT 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 GPIO8/TXT 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: GPIO8/TXT is configured as a GPIO input
01: GPIO8/TXT is configured as a GPIO open drain output
10: GPIO8/TXT is configured as a GPIO push-pull output
11: GPIO8/TXT is configured as a push-pull TX toggle output
© 2014 Exar Corporation
52 / 60
exar.com/XR21B1422
Rev 1A