4.6 JNMMCANWrite

This function will write the data to a particular CAN port register for the selected port.

int JNMMCANWrite((int can_ch, unsigned char offset,unsigned char data);

Usage Example

To Write CAN port to a particular register

Can_ch = 0;    // port 0
Offset = 0x90; // device register offset
Data = 0x80;

ret = JNMMCANWrite(can_ch, Offset,data);

Last updated