Preliminary – Rainbow Electronics T89C51CC02 User Manual
Page 90

90
Rev.A - May 17, 2001
Preliminary
T89C51CC02
CANCONCH (S:B3h)
CAN message object Control and DLC Register
No default value after reset
Figure 78. CANCONCH Register
7
6
5
4
3
2
1
0
CONCH 1
CONCH 0
RPLV
IDE
DLC 3
DLC 2
DLC 1
DLC 0
Bit Number Bit Mnemonic
Description
7-6
CONCH1:0
Configuration of message object
CONCH1 CONCH0
0 0: disable
0 1: Transmitter
1 0: Receiver
1 1: Receiver Buffer
NOTE:
The user must re-write the configuration to enable the corresponding bit in the CANEN1:2 registers.
5
RPLV
Reply valid
Used in the automatic reply mode after receiving a remote frame
0 - reply not ready.
1 - reply ready & valid.
4
IDE
Identifier extension
0 - CAN standard rev 2.0 A (ident = 11 bits).
1 - CAN standard rev 2.0 B (ident = 29 bits).
3-0
DLC3:0
Data length code
Number of bytes in the data field of the message.
The range of DLC is from 0 up to 8.
This value is updated when a frame is received (data or remote frame).
If the expected DLC differs from the incoming DLC, a warning appears in the CANSTCH register.
See Figure 62.