Intel 8XC196K Series User Manual page 548

Table of Contents

Advertisement

CAN_MSG x CON1 (Continued)
x = 1–15 (87C196CA)
The CAN message object x control 1 (CAN_MSG x CON1) register indicates whether a message
object has been updated, whether a message has been overwritten, whether the CPU is updating the
message, and whether a transmission or reception is pending.
This register consists of four bit-pairs — the most-significant bit of each pair is in true form and the
least-significant bit is in complement form. This format allows software to set or clear any bit with a
single write operation, without affecting the remaining bits.
7
87C196CA
RMTPND
Bit
Bit
Number
Mnemonic
1:0
NEWDAT
Table C-6. CAN_MSG x CON1 Addresses and Reset Values
Register
Address
CAN_MSG1CON1
1E11H
CAN_MSG2CON1
1E21H
CAN_MSG3CON1
1E31H
CAN_MSG4CON1
1E41H
CAN_MSG5CON1
1E51H
CAN_MSG6CON1
1E61H
CAN_MSG7CON1
1E71H
CAN_MSG8CON1
1E81H
After reset, this register contains the value that was written to it before reset.
RMTPND
TX_REQ
TX_REQ
New Data
This bit-pair indicates whether a message object is valid (configured and
ready for transmission).
bit 1 bit 2
0
1
not ready
1
0
message object is valid
For receive message objects, the CAN peripheral sets this bit-pair when it
stores new data into the message object.
For transmit message objects, set this bit-pair and clear the CPUUPD bit-
pair to indicate that the message contents have been updated. Clearing
CPUUPD prevents a remote frame from triggering a transmission that
would contain invalid data.
During initialization, clear this bit for any unused message objects.
Reset Value
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Address:
Reset State:
MSGLST
MSGLST
CPUUPD
CPUUPD
Function
Register
Address
CAN_MSG9CON1
1E91H
CAN_MSG10CON1
1EA1H
CAN_MSG11CON1
1EB1H
CAN_MSG12CON1
1EC1H
CAN_MSG13CON1
1ED1H
CAN_MSG14CON1
1EE1H
CAN_MSG15CON1
1EF1H
REGISTERS
CAN_MSGxCON1
Table C-6
0
NEWDAT
NEWDAT
Reset Value
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
C-21

Advertisement

Table of Contents
loading

Table of Contents