Maskable Interrupts: INT1
−
INT14, DLOGINT, and RTOSINT
3-8
Bits 15 and 14 of the IFR correspond to the interrupts RTOSINT and DLOGINT:
RTOSINT
Real-time operating system interrupt flag
Bit 15
RTOSINT = 0
RTOSINT is not pending.
RTOSINT = 1
RTOSINT is pending.
DLOGINT
Data log interrupt flag
Bit 14
DLOGINT = 0
DLOGINT is not pending.
DLOGINT = 1
DLOGINT is pending.
For bits INT1
−
INT14, the following general description applies:
INTx
Interrupt x flag (x = 1, 2, 3, ..., or 14)
Bit (x
−
1)
INTx = 0
INTx is not pending.
INTx = 1
INTx is pending.
3.3.2 CPU Interrupt Enable Register (IER) and
CPU Debug Interrupt Enable Register (DBGIER)
2 shows the IER. To enable an interrupt, set its corresponding bit to
1. To disable an interrupt, clear its corresponding bit to 0. Two syntaxes of the
MOV instruction allow you to read from the IER and write to the IER. In addi-
tion, the OR IER instruction enables you to set IER bits, and the AND IER
instruction enables you to clear IER bits. When a hardware interrupt is serv-
iced, or when an INTR instruction is executed, the corresponding IER bit is
cleared. At reset, all the IER bits are cleared to 0, disabling all the correspond-
ing interrupts.
Note:
When an interrupt is requested by the TRAP instruction, if the corresponding
IER bit is set, the CPU does not clear it automatically. If an application re-
quires that the IER bit be cleared, the bit must be cleared in the interrupt ser-
vice routine.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...