Datasheet
20.11.19. CAN MOb Control and DLC Register
Name: CANCDMOB
Offset: 0xEF
Reset:
Property:
R/W
Bit 7 6 5 4 3 2 1 0
CONMOB1 CONMOB0 RPLV IDE DLC3 DLC2 DLC1 DLC0
Access
Reset
Bits 6, 7 – CONMOBn: Configuration of Message Object
These bits set the communication to be performed (no initial value after RESET).
These bits are not cleared once the communication is performed. The user must re-write the configuration
to enable a new communication.
• This operation is necessary to be able to reset the BXOK flag
• This operation also set the corresponding bit in the CANEN registers
Value Description
00 Disable
01 Enable transmission
10 Enable reception
11 Enable frame buffer reception
Bit 5 – RPLV: Reply Valid
Used in the automatic reply mode after receiving a remote frame.
Value Description
0 Reply not ready
1 Reply ready and valid
Bit 4 – IDE: Identifier Extension
IDE bit of the remote or data frame to send. This bit is updated with the corresponding value of the
remote or data frame received.
Value Description
0 CAN standard rev 2.0 A (identifiers length = 11 bits)
1 CAN standard rev 2.0 B (identifiers length = 29 bits)
Bits 0, 1, 2, 3 – DLCn: Data Length Code
Number of Bytes in the data field of the message.
DLC field of the remote or data frame to send. The range of DLC is from 0 up to 8. If DLC field >8 then
effective DLC=8.
This field is updated with the corresponding value of the remote or data frame received. If the expected
DLC differs from the incoming DLC, a DLC warning appears in the CANSTMOB register.
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
266