![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 526](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898526.webp)
Chapter 21 LIN Controller (LINFlex)
MPC5602P Microcontroller Reference Manual, Rev. 4
526
Freescale Semiconductor
In
mask mode
, the identifier registers are associated with mask registers specifying which bits of the
identifier are handled as “must match” or as “don’t care”. For the bit mapping and registers organization,
please see
.
Figure 21-29. Filter configuration—register organization
21.8.2.3.2
Identifier filter mode configuration
The identifier filters are configured in the IFCR
x
registers. To configure an identifier filter the filter must
first be activated by programming IFER[FACT] = 1. The
identifier list
or
identifier mask
mode for the
corresponding IFCR
x
registers is configured by the IFMR[IFM] bit. For each filter, the IFCR
x
register
configures the ID (or the mask), the direction (TX or RX), the data field length, and the checksum type.
If no filter is active, an RX interrupt is generated on any received identifier event.
If at least one active filter is configured as TX, all received identifiers matching this filter generate a TX
interrupt.
If at least one active filter is configured as RX, all received identifiers matching this filter generate an RX
interrupt.
If no active filter is configured as RX, all received identifiers not matching TX filter(s) generate an RX
interrupt.
Table 21-30. Filter to interrupt vector correlation
Number of
active filters
Number of active filters
configured as TX
Number of active filters
configured as RX
Interrupt vector
0
0
0
RX interrupt on all identifiers
IFCR
n
Identifier
ID
Bit Mapping
Identifier Filter Register Organization
15
0
DFL
CCS
DIR
Identifier Filter Configuration
IFCR2
n
Identifier
Identifier
IFCR2
n
+ 1
IFM = 0
Identifier Filter Mode
IFCR2
n
Identifier
Mask
IFCR2
n
+ 1
IFM = 1
Identifier List Mode
Mask Mode