
FlexRay Module (FLEXRAYV2)
MFR4300 Data Sheet, Rev. 1
Freescale Semiconductor
79
3.3.2.11
Protocol Interrupt Flag Register 0 (PIFR0)
The register holds one set of the protocol related individual interrupt flags. The application clears an
interrupt flag by writing a '1' to it. Writing a ‘0’ will not change the state of the flag. If the application tries
to clear a flag and the FlexRay module sets this flag at the same 13×time, then that flag remains set.
1
RBIE
Receive Buffer Interrupt Enable
— This flag controls if the receive buffer interrupt line is asserted when the
RBIF flag is set.
0 Disable interrupt line
1 Enable interrupt line
Transmit Interrupt Enable
— This flag controls if the transmit buffer interrupt line is asserted when the TBIF
flag is set.
0 Disable interrupt line
1 Enable interrupt line
0
TBIE
0x0018
Write: Normal Mode
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R FATL
W
Reset
_IF
INTL
_IF
ILCF
_IF
CSA
_IF
MRC
_IF
MOC
_IF
CCL
_IF
MXS
_IF
MTX
_IF
LTXB
_IF
LTXA
_IF
TBVB
_IF
TBVA
_IF
TI2
_IF
TI1
_IF
CYS
_IF
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 3-10. Protocol Interrupt Flag Register 0 (PIFR0)
Table 3-17. PIFR0 Field Descriptions (Sheet 1 of 3)
Field
Description
15
FATL_IF
Fatal Protocol Error Interrupt Flag
— This flag is set when the protocol engine has detected a fatal protocol
error. In this case, the protocol engine goes into the
POC:halt
state immediately. The fatal protocol errors are:
1)
pLatestTx
violation, as described in the MAC process of the FlexRay protocol
2) transmission across slot boundary violation, as described in the FSP process of the FlexRay protocol
0 No such event.
1 Fatal protocol error detected.
Internal Protocol Error Interrupt Flag
— This flag is set when the protocol engine has detected an internal
protocol error. In this case, the protocol engine goes into the
POC:halt
state immediately. An internal protocol
error occurs when the protocol engine has not finished a calculation and a new calculation is requested. This
can be caused by a hardware error.
0 No such event.
1 Internal protocol error detected.
Illegal Protocol Configuration Interrupt Flag
— This flag is set when the protocol engine has detected an
illegal protocol configuration parameter setting. In this case, the protocol engine goes into the
POC:halt
state
immediately.
The protocol engine checks the
listen_timeout
value programmed into the
Protocol Configuration Register 14
(PCR14)
and
Protocol Configuration Register 15 (PCR15)
when the CONFIG_COMPLETE command was sent
by the application via the
Protocol Operation Control Register (POCR)
. If the value of
listen_timeout
is equal to
zero, the protocol configuration setting is considered as illegal.
0 No such event.
1 Illegal protocol configuration detected.
14
INTL_IF
13
ILCF_IF
Table 3-16. GIFER Field Descriptions (Sheet 3 of 3)
Field
Description