Anonymous
Not applicable
Mar 10, 2017
08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2017
08:42 AM
Hi,
I'm searching for an easy way to extract/put uint16 form/in CAN Messages/Mailboxes
Before (with other Platform) I do this:
UB12=(*(short *) &CAN_Receive_Data[1]);
UB24=(*(short *) &CAN_Receive_Data[3]);
(*(short *) &CAN_Send_Data[1])=UB12;
(*(short *) &CAN_Send_Data[3])=UB24;
Regards,
Michael
3 Replies