CANID

From MCS Wiki AVR
Jump to: navigation, search

Contents

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  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language