![FTDI FT51A Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158040.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
39
Copyright © 2015 Future Technology Devices International Limited
2.4.5
SPI_SLAVE_INT
Bit
Position
Bit Field Name
Type
Reset
Description
7..6
RFU
R
0
Reserved
5
tx_busy
R
0
Indicates the module is busy
processing a transfer
4
rx_oe_int
R/W1C
0
Indicates a RX overrun error when
data is received and the
SPI_SLAVE_RX_DATA register is
still full. If this occurs the new data
is discarded.
3
rx_full_int
R/W1C
0
Indicates a Rx data register
interrupt that SPI_SLAVE_RX_DATA
has new data to be read out.
2
tx_oe_int
R/W1C
0
Indicates a Tx overrun error when
data is written to the
SPI_SLAVE_TX_DATA
register while
the register is still full. If this occurs
the old data is overwritten.
1
tx_done_int
R/W1C
0
Indicates when a transmission has
completed. Set when the data in
SPI_SLAVE_TX_DATA
has been sent.
0
hold_tx_int
R/W1C
0
Indicates a Tx holding register
interrupt. Set when the holding
register is empty.
Table 2.41 SPI Slave Interrupt Status Register
The status of each SPI Slave module interrupt is read from this register. When an interrupt is
enabled and the interrupt is active then a top level peripheral interrupt in the
spi_slave_irq
bit in
the
PERIPHERAL_INT1
register is set.
Clearing an interrupt bit is achieved by writing a 1 to the corresponding bit field. Writing a zero has
no effect.