xr20m1172 Exar Corporation, xr20m1172 Datasheet - Page 37

no-image

xr20m1172

Manufacturer Part Number
xr20m1172
Description
Two Channel I2c/spi Uart With 64-byte Fifo
Manufacturer
Exar Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
xr20m1172IG28
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
xr20m1172IG28-F
Manufacturer:
EXAR
Quantity:
4 190
Part Number:
xr20m1172IG28-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
xr20m1172IG28TR-F
Manufacturer:
XILINX
0
Part Number:
xr20m1172IG28TR-F
Manufacturer:
EXAR
Quantity:
1 000
Part Number:
xr20m1172IL32-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
xr20m1172IL32TR-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
REV. 1.0.0
This register is used to program the direction of the GPIO pins. Bit-7 to bit-0 controls GPIO7 to GPIO0.
This register reports the state of all GPIO pins during a read and writes to any GPIO that is an output.
This register enables the interrupt for the GPIO pins. The interrupts for GPIO[7:4] are only enabled if
IOControl[1] = 0. If IOControl[0] = 1 (GPIO pins are selected as modem IOs) , then IOIntEna[7:4] will have no
effect on GPIO[7:4].
IOControl[7:4]: Reserved
IOControl[3]: UART Software Reset
Writing a logic 1 to this bit will reset the device. Once the device is reset, this bit will automatically be set to a
logic 0.
IOControl[2]: GPIO[3:0] or Modem IO Select (CH B)
This bit controls whether GPIO[3:0] behave as GPIO pins or as modem IO pins (RIB#, CDB#, DTRB#, DSRB#)
IOControl[1]: GPIO[7:4] or Modem IO Select (CH A)
This bit controls whether GPIO[7:4] behave as GPIO pins or as modem IO pins (RIA#, CDA#, DTRA#, DSRA#)
IOControl[0]: IO Latch
This bit enable/disable GPIO inputs latching.
4.15
4.16
4.17
4.18
Logic 0 = set GPIO pin as input
Logic 1 = set GPIO pin as output
Logic 0 = set output pin LOW
Logic 1 = set output pin HIGH
Logic 0 = a change in the input pin will not generate an interrupt
Logic 1 = a change in the input will generate an interrupt
Logic 0 = GPIO[3:0] behave as GPIO pins
Logic 1 = GPIO[3:0] behave as RIB#, CDB#, DTRB#, DSRB#. Note: DTRB# will also need to be set as an
output via IODir bit-1.
Logic 0 = GPIO[7:4] behave as GPIO pins
Logic 1 = GPIO[7:4] behave as RIA#, CDA#, DTRA#, DSRA#. Note: DTRA# will also need to be set as an
output via IODir bit-5.
Logic 0 = GPIO input values are not latched. A change in any GPIO input generates an interrupt. A read of
the IOState register clears the interrupt. If the input goes back to its initial logic state before the input register
is read, then the interrupt is cleared.
Logic 1 = GPIO input values are latched. A change in the GPIO input generates an interrupt and the input
logic value is loaded in the bit of the corresponding input state register (IOState). A read of the IOState
register clears the interrupt. If the input pin goes back to its initial logic state before the interrupt register is
read, then the interrupt is not cleared and the corresponding bit of the IOState register keeps the logic value
that generated the interrupt.
GPIO Direction Register (IODir) - Read/Write
GPIO State Register (IOState) = Read/Write
GPIO Interrupt Enable Register (IOIntEna) - Read/Write
GPIO Control Register (IOControl) - Read/Write
37
TWO CHANNEL I2C/SPI UART WITH 64-BYTE FIFO
XR20M1172

Related parts for xr20m1172