CANBAUD
From MCS Wiki AVR
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 |
---|