mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Refining the FlexRay API
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef __FLEXRAYCHANNEL_H_
|
||||
#define __FLEXRAYCHANNEL_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
|
||||
namespace FlexRay {
|
||||
|
||||
// In some cases used as a bitfield
|
||||
enum class Channel {
|
||||
None = 0, // Usually an invalid/unset value
|
||||
A = 1,
|
||||
B = 2,
|
||||
AB = 3
|
||||
};
|
||||
|
||||
} // namespace FlexRay
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __FLEXRAYCHANNEL_H_
|
||||
@@ -14,7 +14,7 @@ enum class Opcode : uint8_t {
|
||||
WriteCCReg = 0x02,
|
||||
WriteMessageBuffer = 0x03,
|
||||
ReadCCStatus = 0x04,
|
||||
AddConfiguredMessage = 0x05,
|
||||
AddConfiguredTxMessage = 0x05,
|
||||
InitForRun = 0x06,
|
||||
Unknown = 0xff
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user