108
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Serial Peripheral Register Access
9.1.2.3
I2C_INTR register
The I2C_INTR register reports the status of I
2
C-related interrupt conditions. The interrupt status bits
correspond to status bits in the I2C_STATUS, but are sticky; that is, the interrupt status bit stays set
until cleared by firmware. The status bit is cleared when the current status changes.
9.1.2.4
I2C_INTR_MASK register
This register is used to enable/disable the reporting of specific I2C interrupt conditions to the ARM
CPU.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
0
RX_DONE
RW1S
RW1C
0
Set when I2C_STATUS.RX_DONE
asserts, cleared by software.
1
RX_DATA
RW1S
RW1C
0
Set when I2C_STATUS.RX_DATA asserts,
cleared by software.
2
RX_HALF
RW1S
RW1C
0
Set when I2C_STATUS.RX_HALF asserts,
cleared by software.
3
TX_DONE
RW1S
RW1C
0
Set when I2C_STATUS.TX_DONE asserts,
cleared by software.
4
TX_SPACE
RW1S
RW1C
0
Set when I2C_STATUS.TX_SPACE
asserts, cleared by software.
5
TX_HALF
RW1S
RW1C
0
Set when I2C_STATUS.TX_HALF asserts,
cleared by software.
6
TIMEOUT
RW1S
RW1C
0
Set when I2C_STATUS.TIMEOUT asserts,
cleared by software.
7
LOST_ARBITRATION RW1S
RW1C
0
Set when
I2C_STATUS.LOST_ARBITRATION
asserts, cleared by software.
8
ERROR
RW1S
RW1C
0
Set when I2C_STATUS.ERROR asserts,
cleared by software.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
0
RX_DONE
R
RW
0
1: Report RX_DONE interrupt to CPU
1
RX_DATA
R
RW
0
1: Report RX_DATA interrupt to CPU
2
RX_HALF
R
RW
0
1: Report RX_HALF interrupt to CPU
3
TX_DONE
R
RW
0
1: Report TX_DONE interrupt to CPU
4
TX_SPACE
R
RW
0
1: Report TX_SPACE interrupt to CPU
5
TX_HALF
R
RW
0
1: Report TX_HALF interrupt to CPU
6
TIMEOUT
R
RW
0
1: Report TIMEOUT interrupt to CPU
7
LOST_ARBITRATION R
RW
0
1: Report LOST_ARBITRATION interrupt
to CPU
8
ERROR
R
RW
0
1: Report ERROR interrupt to CPU
Содержание 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...