122
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Serial Peripheral Register Access
9.1.4.3
SPI_INTR register
This register reflects the status of SPI related interrupt sources.
9.1.4.4
SPI_INTR_MASK register
This register is used to enable/disable the reporting of SPI interrupts to the ARM CPU.
6
ERROR
RW1S
RW1C
0
An internal error has occurred with cause
ERROR_CODE.
Sticky. Must be cleared by software.
27:24
ERROR_CODE
W
R
0xF
Error code. Only relevant when ERROR=1.
ERROR logs only the FIRST error to occur
and will never change value as long as
ERROR=1.
12: TX FIFO overflow
13: RX FIFO underflow
15: No error
28
BUSY
W
R
0
Indicates the block is busy transmitting data.
This field may remain asserted after the block
is suspended and must be polled before
changing any configuration values.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
0
RX_DONE
RW1S
RW1C
0
Set when SPI_STATUS.RX_DONE asserts,
cleared by software.
1
RX_DATA
RW1S
RW1C
0
Set when SPI_STATUS.RX_DATA asserts,
cleared by software.
2
RX_HALF
RW1S
RW1C
0
Set when SPI_STATUS.RX_HALF asserts,
cleared by software.
3
TX_DONE
RW1S
RW1C
0
Set when SPI_STATUS.TX_DONE asserts,
cleared by software.
4
TX_SPACE
RW1S
RW1C
0
Set when SPI_STATUS.TX_SPACE asserts,
cleared by software.
5
TX_HALF
RW1S
RW1C
0
Set when SPI_STATUS.TX_HALF asserts,
cleared by software.
6
ERROR
RW1S
RW1C
0
Set when SPI_STATUS.ERROR asserts,
cleared by software.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
0
RX_DONE
R
RW
0
1: Enable the reporting of
SPI_INTR.RX_DONE interrupt to CPU
1
RX_DATA
R
RW
0
1: Enable the reporting of
SPI_INTR.RX_DATA interrupt to CPU
2
RX_HALF
R
RW
0
1: Enable the reporting of
SPI_INTR.RX_HALF interrupt to CPU
3
TX_DONE
R
RW
0
1: Enable the reporting of
SPI_INTR.TX_DONE interrupt to CPU
4
TX_SPACE
R
RW
0
1: Enable the reporting of
SPI_INTR.TX_SPACE interrupt to CPU
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
Содержание EX-USB FX3
Страница 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Страница 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Страница 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Страница 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Страница 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Страница 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Страница 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Страница 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Страница 153: ...FX3 Programmers Manual Doc 001 64707 Rev C 153 FX3 Development Tools 2 Select General Existing projects into Workspace...
Страница 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Страница 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Страница 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Страница 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Страница 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Страница 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...