CANID/de
From MCS Wiki AVR
< CANID(Difference between revisions)
(Created page with "= <span class="f_Header">Action</span> = Returns the ID from the received CAN frame. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> ...") |
m (1 revision) |
Latest revision as of 21:12, 15 February 2013
Contents |
= (**COPIED FROM ENGLISH PAGE**) === Action
Returns the ID from the received CAN frame.
Syntax
value = CANID()
Remarks
The CANID function can return a 11 bit or 29 bit ID. You need to assign it to a WORD or DWORD variable.
The CANID functions works at the current selected MOB and is typically used inside the CAN interrupt.
See also
CONFIG CANBUS , CONFIG CANMOB , CANBAUD , CANRESET , CANCLEARMOB , CANCLEARALLMOBS , CANSEND , CANRECEIVE , CANSELPAGE , CANGETINTS
Example
Languages | English • Deutsch |
---|