![Texas Instruments TMS320x281 series Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/texas-instruments/tms320x281-series/tms320x281-series_reference-manual_1095203066.webp)
Acceptance Filter
www.ti.com
Figure 2-35. Local-Acceptance-Mask Register (LAMn)
31
30
29
28
16
LAMI
Reserved
LAM
n
[28:16]
R/W-0
R/W-0
R/W-0
15
0
LAM
n
[15:0]
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 2-28. Local-Acceptance-Mask Register (LAMn) Field Descriptions
Bit
Field
Value
Description
31
LAMI
Local-acceptance-mask identifier extension bit
1
Standard and extended frames can be received. In case of an extended frame, all 29 bits of the
identifier are stored in the mailbox and all 29 bits of the local-acceptance mask register are used for
the filter. In case of a standard frame, only the first eleven bits (bits 28 to 18) of the identifier and
the local-acceptance mask are used.
0
The identifier extension bit stored in the mailbox determines which messages shall be received.
30:29
Reserved
Reads are undefined and writes have no effect.
28:0
LAM[28:0]
These bits enable the masking of any identifier bit of an incoming message.
1
Accept a 0 or a 1 (don't care) for the corresponding bit of the received identifier.
0
Received identifier bit value must match the corresponding identifier bit of the MSGID register.
You can locally mask any identifier bits of the incoming message. A 1 value means "don't care" or accept
either a 0 or 1 for that bit position. A 0 value means that the incoming bit value must match identically to
the corresponding bit in the message identifier.
If the local-acceptance mask identifier extension bit is set (LAMI = 1 => don't care) standard and extended
frames can be received. An extended frame uses all 29 bits of the identifier stored in the mailbox and all
29 bits of local-acceptance mask register for the filter. For a standard frame only the first eleven bits (bit
28 to 18) of the identifier and the local-acceptance mask are used.
If the local-acceptance mask identifier extension bit is reset (LAMI = 0), the identifier extension bit stored
in the mailbox determines the messages that are received.
eCAN Registers
66
SPRU074F – May 2002 – Revised January 2009