Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

XRA1404 Datasheet(PDF) 5 Page - Exar Corporation

Part No. XRA1404
Description  8-BIT SPI GPIO EXPANDER WITH INTEGRATED LEVEL SHIFTERS
Download  14 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  EXAR [Exar Corporation]
Homepage  http://www.exar.com
Logo 

XRA1404 Datasheet(HTML) 5 Page - Exar Corporation

 
Zoom Inzoom in Zoom Outzoom out
 5 / 14 page
background image
XRA1404
5
REV. 1.0.0
8-BIT SPI GPIO EXPANDER WITH INTEGRATED LEVEL SHIFTERS
1.1.1
SPI Command Byte
An SPI command byte is sent by the SPI master following the slave address. The command byte indicates the
address offset of the register that will be accessed. Table 2 below lists the command bytes for each register.
TABLE 2: COMMAND BYTE (REGISTER ADDRESS)
COMMAND BYTE
REGISTER NAME DESCRIPTION
READ/WRITE
DEFAULT VALUES
0x00
GSR - GPIO State
Read-Only
0xXX
0x01
OCR - Output Control
Read/Write
0xFF
0x02
PIR - Input Polarity Inversion
Read/Write
0x00
0x03
GCR - GPIO Configuration
Read/Write
0xFF
0x04
PUR - Input Internal Pull-up Resistor Enable/Disable
Read/Write
0x00
0x05
IER - Input Interrupt Enable
Read/Write
0x00
0x06
TSCR - Output Three-State Control
Read/Write
0x00
0x07
ISR - Input Interrupt Status
Read
0x00
0x08
REIR - Input Rising Edge Interrupt Enable
Read/Write
0x00
0x09
FEIR - Input Falling Edge Interrupt Enable
Read/Write
0x00
0x0A
IFR - Input Filter Enable/Disable
Read/Write
0xFF
1.2
Interrupts
The table below summarizes the interrupt behavior of the different register settings for the XRA1404.
TABLE 3: INTERRUPT GENERATION AND CLEARING
BIT
BIT
BIT
BIT
BIT
INTERRUPT GENERATED BY:
INTERRUPT CLEARED BY:
1
0
X
X
X
No interrupts enabled (default)
N/A
1
1
0
0
0
A rising or falling edge on the input
Reading the GSR register or if the input
changes back to its previous state (state of
input during last read to GSR)
1
A rising or falling edge on the input and
remains in the new state for more than
1075ns
1
1
1
0
0
A rising edge on the input
Reading the GSR register
1
A rising edge on the input and remains high
for more than 1075ns
1
1
0
1
0
A falling edge on the input
Reading the GSR register
1
A falling edge on the input and remains low
for more than 1075ns
1
1
1
1
0
A rising or falling edge on the input
Reading the GSR register
1
A rising or falling edge on the input and
remains in the new state for more than
1075ns
0
x
x
x
x
No interrupts in output mode
N/A
GCR IER REIR FEIR IFR


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14 


Datasheet Download




Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Alldatasheet API   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn