Intel 8XC196K Series User Manual page 546

Table of Contents

Advertisement

CAN_MSG x CON0 (Continued)
x = 1–15 (87C196CA)
Program the CAN message object x control 0 (CAN_MSG x CON0) register to indicate whether the
message object is ready to transmit and to control whether a successful transmission or reception
generates an interrupt. The least-significant bit-pair indicates whether an interrupt 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
MSGVAL
87C196CA
Bit
Bit
Number
Mnemonic
3:2
RXIE
1:0
INT_PND
Table C-5. CAN_MSG x CON0 Addresses and Reset Values
Register
Address
CAN_MSG1CON0
1E10H
CAN_MSG2CON0
1E20H
CAN_MSG3CON0
1E30H
CAN_MSG4CON0
1E40H
CAN_MSG5CON0
1E50H
CAN_MSG6CON0
1E60H
CAN_MSG7CON0
1E70H
CAN_MSG8CON0
1E80H
After reset, this register contains the value that was written to it before reset.
MSGVAL
TXIE
TXIE
Receive Interrupt Enable
Transmit message objects do not use this bit-pair.
For a receive message object, set this bit-pair to enable this message
object to initiate a receive (RX) interrupt after a successful reception. You
must also set the interrupt enable bit (CAN_CON.1) to enable the interrupt.
bit 3 bit 2
0
1
no interrupt
1
0
generate an interrupt
Interrupt Pending
This bit-pair indicates that this message object has initiated a transmit (TX)
or receive (RX) interrupt. Software must clear this bit when it services the
interrupt.
bit 1 bit 0
0
1
no interrupt
1
0
an interrupt was generated
Reset Value
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Address:
Reset State:
RXIE
RXIE
Function
Register
Address
CAN_MSG9CON0
1E90H
CAN_MSG10CON0
1EA0H
CAN_MSG11CON0
1EB0H
CAN_MSG12CON0
1EC0H
CAN_MSG13CON0
1ED0H
CAN_MSG14CON0
1EE0H
CAN_MSG15CON0
1EF0H
REGISTERS
CAN_MSGxCON0
Table C-5
0
INT_PND
INT_PND
Reset Value
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
C-19

Advertisement

Table of Contents
loading

Table of Contents