FlexRay Communication Controller (FLEXRAY)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
30-22
Freescale Semiconductor
Preliminary
30.5.2.10 Global Interrupt Flag and Enable Register (GIFER)
This register provides the means to control some of the interrupt request lines and provides the
corresponding interrupt flags. The interrupt flags MIF, PRIF, CHIF, RBIF, and TBIF are the outcome of a
binary OR of the related individual interrupt flags and interrupt enables. The generation scheme for these
flags is depicted in
. For more details on interrupt generation, see
. These flags are cleared automatically when all of the corresponding interrupt flags or interrupt
enables in the related interrupt flag and enable registers are cleared by the application.
Base + 0x0016
Write: Normal Mode
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
MIF
PRIF
CHIF
WUP
IF
FNEB
IF
FNEA
IF
RBIF
TBIF
MIE
PRIE
CHIE
WUP
IE
FNEB
IE
FNEA
IE
RBIE
TBIE
W
w1c
w1c
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 30-10. Global Interrupt Flag and Enable Register (GIFER)
Table 30-17. GIFER Field Descriptions (Sheet 1 of 3)
Field
Description
MIF
Module Interrupt Flag. This flag is set if at least one of the other interrupt flags is in this register is asserted and
the related interrupt enable is asserted, too. The FlexRay block generates the module interrupt request if MIE is
asserted.
0 No interrupt flag is asserted or no interrupt enable is set
1 At least one of the other interrupt flags in this register is asserted and the related interrupt bit is asserted, too
PRIF
Protocol Interrupt Flag. This flag is set if at least one of the individual protocol interrupt flags in the
Interrupt Flag Register 0 (PIFR0)
Protocol Interrupt Flag Register 1 (PIFR1)
is asserted and the related
interrupt enable flag is asserted, too. The FlexRay block generates the combined protocol interrupt request if the
PRIE flag is asserted.
0 All individual protocol interrupt flags are equal to 0 or no interrupt enable bit is set.
1 At least one of the individual protocol interrupt flags and the related interrupt enable is equal to 1.
CHIF
CHI Interrupt Flag. This flag is set if at least one of the individual CHI error flags in the
is asserted and the chi error interrupt enable GIFER.CHIE is asserted. The FlexRay block generates
the combined CHI error interrupt if the CHIE flag is asserted, too.
0 All CHI error flags are equal to 0 or the chi error interrupt is disabled
1 At least one CHI error flag is asserted and chi error interrupt is enabled
WUPIF
Wakeup Interrupt Flag. This flag is set when the FlexRay block has received a wakeup symbol on the FlexRay
bus. The application can determine on which channel the wakeup symbol was received by reading the related
wakeup flags WUB and WUA in the
Protocol Status Register 3 (PSR3).
The FlexRay block generates the wakeup
interrupt request if the WUPIE flag is asserted.
0 No wakeup condition or interrupt disabled
1 Wakeup symbol received on FlexRay bus and interrupt enabled
FNEBIF
Receive FIFO channel B Not Empty Interrupt Flag. This flag is set when the receive FIFO for channel B is not
empty. If the application writes 1 to this bit, the FlexRay block updates the FIFO status, increments or wraps the
FIFO read index in the
Receive FIFO B Read Index Register (RFBRIR)
and clears the interrupt flag if the FIFO
B is now empty. If the FIFO is still not empty, the FlexRay block sets this flag again. The FlexRay block generates
the Receive FIFO B Not empty interrupt if the FNEBIE flag is asserted.
0 Receive FIFO B is empty or interrupt is disabled
1 Receive FIFO B is not empty and interrupt enabled