Begin work on FlexRay support

This commit is contained in:
Paul Hollinsky
2019-10-16 16:43:31 -04:00
parent 0607986114
commit 2f9844df92
65 changed files with 1137 additions and 120 deletions
@@ -0,0 +1,26 @@
#ifndef __FLEXRAYOPCODE_H_
#define __FLEXRAYOPCODE_H_
#include <cstdint>
namespace icsneo {
namespace FlexRay {
// Second byte, opcode
enum class Opcode : uint8_t {
SetNetID = 0x00,
ReadCCRegs = 0x01,
WriteCCReg = 0x02,
WriteMessageBuffer = 0x03,
ReadCCStatus = 0x04,
AddConfiguredMessage = 0x05,
InitForRun = 0x06,
Unknown = 0xff
};
} // namespace FlexRay
} // namespace icsneo
#endif // __FLEXRAYOPCODE_H_