Datasheet

Programmer’s Model of Control Registers
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
Freescale Semiconductor 151
IDAM1–IDAM0— Identifier Acceptance Mode
The CPU sets these flags to define the identifier acceptance filter organization (see 12.5 Identifier
Acceptance Filter). Table 12-9 summarizes the different settings. In “filter closed” mode no messages
will be accepted so that the foreground buffer will never be reloaded.
IDHIT1–IDHIT0— Identifier Acceptance Hit Indicator
The MSCAN08 sets these flags to indicate an identifier acceptance hit (see
12.5 Identifier Acceptance Filter). Table 12-9 summarizes the different settings.
The IDHIT indicators are always related to the message in the foreground buffer. When a message gets
copied from the background to the foreground buffer, the indicators are updated as well.
NOTE
The CIDAC register can be written only if the SFTRES bit in the CMCR0 is
set.
12.13.10 MSCAN08 Receive Error Counter
This read-only register reflects the status of the MSCAN08 receive error counter.
Table 12-9. Identifier Acceptance Mode Settings
IDAM1 IDAM0 Identifier Acceptance Mode
0 0 Single 32-bit acceptance filter
0 1 Two 16-bit acceptance filter
1 0 Four 8-bit acceptance filters
1 1 Filter closed
Table 12-10. Identifier Acceptance Hit Indication
IDHIT1 IDHIT0 Identifier Acceptance Hit
0 0 Filter 0 hit
0 1 Filter 1 hit
1 0 Filter 2 hit
1 1 Filter 3 hit
Address: $050E
Bit 7654321Bit 0
Read: RXERR7 RXERR6 RXERR5 RXERR4 RXERR3 RXERR2 RXERR1 RXERR0
Write:
Reset:00000000
= Unimplemented
Figure 12-25. Receiver Error Counter (CRXERR)