LAWICEL CAN-FD support, CAN-FD data rate selection

This commit is contained in:
maciek16c
2023-11-22 14:39:36 +01:00
parent 7fef6eb49f
commit 190d51ae90
23 changed files with 354 additions and 118 deletions
+3
View File
@@ -17,6 +17,7 @@ public:
bool singleWire;
bool active; //is this bus turned on?
bool canFD;
int dataRate;
void setSpeed(int); // new speed
void setListenOnly(bool); //bool for whether to only listen
@@ -24,6 +25,8 @@ public:
void setActive(bool); //whether this bus should be enabled or not.
void setCanFD(bool); // enable or disable CANFD support
int getSpeed();
int getDataRate();
void setDataRate(int newSpeed);
bool isListenOnly();
bool isSingleWire();
bool isActive();