CAN Headers.

Files at this revision

API Documentation at this revision

Comitter:
wsalis01
Date:
Thu Apr 05 01:19:42 2012 +0000
Parent:
2:f25554922a25
Child:
4:915f5ae2e9bb
Commit message:

Changed in this revision

CANProtocol.h Show annotated file Show diff for this revision Revisions of this file
--- a/CANProtocol.h	Thu Jan 12 18:48:02 2012 +0000
+++ b/CANProtocol.h	Thu Apr 05 01:19:42 2012 +0000
@@ -9,6 +9,8 @@
 #ifndef CANPROTOCOL_H
 #define CANPROTOCOL_H
 
+const int CAN_FREQUENCY = 1000000; /* CANbus Speed ( 1000000 == 1Mbit/s ) */
+
 const int CAN_RESET  = 0x100; /* Command Message: Reset */
 const int CAN_SYNC   = 0x101; /* Command Message: Sync */
 const int CAN_BRAKE  = 0x200; /* Critical Response: Brake Pedal */