Pie, Intx Group Flag Register (Pieifrx) (X = 1 To 12); Pie, Intx Group Flag Register (Pieifrx) (X = 1 To 12) Field Descriptions - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
1.13.5.13.4 PIE Interrupt Flag Registers
There are twelve PIEIFR registers, one for each CPU interrupt used by the PIE module (INT1-INT12).
15
7
6
INTx.8
INTx.7
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 1-87. PIE, INTx Group Flag Register (PIEIFRx) (x = 1 to 12) Field Descriptions
Bits
Field
Description
15-8
Reserved
Reserved
7
INTx.8
These register bits indicate whether an interrupt is currently active. They behave very much like the CPU
interrupt flag register. When an interrupt is active, the respective register bit is set. The bit is cleared when the
6
INTx.7
interrupt is serviced or by writing a 0 to the register bit. This register can also be read to determine which
5
INTx.6
interrupts are active or pending. x = 1 to 12. INTx means CPU INT1 to INT12
The PIEIFR register bit is cleared during the interrupt vector fetch portion of the interrupt processing.
4
INTx.5
Hardware has priority over CPU accesses to the PIEIFR registers.
3
INTx.4
2
INTx.3
1
INTx.2
0
INTx.1
NOTE: Never clear a PIEIFR bit. An interrupt may be lost during the read-modify-write operation.
See Section
1.13.5.13.5 CPU Interrupt Flag Register (IFR)
The CPU interrupt flag register (IFR), is a 16-bit, CPU register and is used to identify and clear pending
interrupts. The IFR contains flag bits for all the maskable interrupts at the CPU level (INT1-INT14,
DLOGINT and RTOSINT). When the PIE is enabled, the PIE module multiplexes interrupt sources for
INT1-INT12.
When a maskable interrupt is requested, the flag bit in the corresponding peripheral control register is set
to 1. If the corresponding mask bit is also 1, the interrupt request is sent to the CPU, setting the
corresponding flag in the IFR. This indicates that the interrupt is pending or waiting for acknowledgment.
To identify pending interrupts, use the PUSH IFR instruction and then test the value on the stack. Use the
OR IFR instruction to set IFR bits and use the AND IFR instruction to manually clear pending interrupts.
All pending interrupts are cleared with the AND IFR #0 instruction or by a hardware reset.
The following events also clear an IFR flag:
The CPU acknowledges the interrupt.
The 28x device is reset.
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
Figure 1-76. PIE, INTx Group Flag Register (PIEIFRx) (x = 1 to 12)
5
4
INTx.6
INTx.5
R/W-0
R/W-0
Section 1.5.4.3.1
for a method to clear flagged interrupts.
Copyright © 2012–2019, Texas Instruments Incorporated
Reserved
R-0
3
2
INTx.4
INTx.3
R/W-0
R/W-0
System Control Registers
8
1
0
INTx.2
INTx.1
R/W-0
R/W-0
System Control and Interrupts
213

Advertisement

Table of Contents
loading

Table of Contents