![FTDI FT51A Скачать руководство пользователя страница 30](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158030.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
29
Copyright © 2015 Future Technology Devices International Limited
2.3.5
SPI_MASTER_INT
Bit
Position
Bit Field Name
Type
Reset
Description
7..6
RFU
R
0
Reserved
5
transfer_size_done_int
R/W1C
0
Indicates when a transmission of the
SPI_MASTER_TRANSFER_SIZE
bytes has
completed.
4
rx_oe_int
R/W1C
0
Indicates an Rx overrun error when
data is received and
SPI_MASTER_RX_DATA
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_MASTER_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
SPI_MASTER_TX_DATA
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_MASTER_TX_DATA
has been sent.
0
hold_txe_int
R/W1C
0
Indicates a Tx holding register
interrupt. Set when the holding
register is empty.
Table 2.27 SPI Master Interrupt Status Register
The status of each SPI Master 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_master_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.