-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Separate CAN from protocol-independent classes and add driv…
…er as abstraction
- Loading branch information
Showing
34 changed files
with
735 additions
and
549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* \file can_baud_rate.hpp | ||
* \mainpage | ||
* Communication Baud rate of the CAN bus | ||
* \author | ||
* Tobit Flatscher (github.com/2b-t) | ||
*/ | ||
|
||
#ifndef MYACTUATOR_RMD__ACTUATOR_STATE__CAN_BAUD_RATE | ||
#define MYACTUATOR_RMD__ACTUATOR_STATE__CAN_BAUD_RATE | ||
#pragma once | ||
|
||
#include <cstdint> | ||
|
||
|
||
namespace myactuator_rmd { | ||
|
||
/**\enum CanBaudRate | ||
* \brief | ||
* Communication Baud rate of the CAN bus | ||
*/ | ||
enum class CanBaudRate: std::uint8_t { | ||
KBPS500 = 0, | ||
MBPS1 = 1 | ||
}; | ||
|
||
} | ||
|
||
#endif // MYACTUATOR_RMD__ACTUATOR_STATE__CAN_BAUD_RATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.