CANBAUD
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Sets the baud rate of the CAN bus. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> ...")
(Created page with "= <span class="f_Header">Action</span> = Sets the baud rate of the CAN bus. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> ...")
Latest revision as of 17:47, 7 February 2013
Contents |
Action
Sets the baud rate of the CAN bus.
Syntax
CANBAUD = value
Remarks
All devices on the CAN bus need to have the same baud rate. The value must be a constant. The baud rate depends on the used crystal. The compiler uses the $CRYSTAL value to calculate the CAN baud rate. Higher baud rates require a higher system clock.
See also
CONFIG CANBUS , CONFIG CANMOB , CANRESET, CANCLEARMOB, CANCLEARALLMOBS, CANSEND, CANRECEIVE , CANID , CANSELPAGE, CANGETINTS
Example
Canbaud = 125000 ' use 125 KB
Languages | English • Deutsch |
---|