Download Microcontrollers ApNote AP2922
Transcript
’C’ CAN Driver Routines for the C166 family Additional Information: This procedure transmits the specified message object. If the message object was configured with DIR=1, then a data frame will be transmitted. If the message object was configured with DIR=0, then a remote frame will be transmitted. Please note that as MO 15 cannot be transmitted, this procedure cannot be applied to MO 15. Please note that before being able to transmit any data frame, the message object’s data bytes have to be loaded at least once which can be done with the procedure ld_modata_16x. Only message object numbers between 1 and 14 are accepted. The procedure has to be called for each message object separately. The procedure performs the following actions: • • Check if the specified message object is valid (number between 1 and 14). Set TXRQ in the Message Control Register of the specified message object to request the transmission of this message object. Semiconductor Group 21 of 33 AP2922 05.97