53 #pragma warning(disable : 4200)
135 enum { HEADER_SIZE =
sizeof(uint16_t) +
sizeof(uint32_t) +
sizeof(uint8_t) +
sizeof(int64_t) };
139 tCycleStart sCycleStart;
165 #pragma warning(default : 4200)
Copyright 2024 CARIAD SE.
uint16_t tSlotID
FlexRay slot ID (1..2047)
uint32_t tPDUID
FlexRay PDU (Protocol Data Unit) ID.
uint8_t tCycleID
FlexRay cycle ID (0..63)
uint8_t tChannelID
FlexRay Cluster and Channel ID (FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B, FLEXRAY_CHANNEL_AB).
uint32_t tECUID
FlexRay ECU (Electronic Communication Unit) ID.
axle::tFlexRayData tFlexRayData
FlexDay data structured is used for storing and transmitting FlexRay data.
tCycleID nCycleCount
Cycle count 0..63.
uint8_t aData[0]
Start of variable sized payload.
uint8_t nFlags
See defintion of values tFR_FLAGS.
tCycleID nCycleCount
Cycle count 0..63.
tSlotID nSlot
Slot 1..2047.
tChannelID nChannel
Channel ID.
uint8_t nPayloadLength
0..127 words == 0..254 bytes
uint8_t aData[0]
Start of variable sized payload.
tPDUID nPDUID
Index of PDU.
tECUID nECUID
Index of ECU.
tChannelID nChannel
See defintion of values FR_FLAG_xxx.
uint8_t nPayloadLength
0..254 bytes
FlexDay data structured is used for storing and transmitting FlexRay data.
tFR_TAG nTag
Tag of union (See tFR_TAG)
tFR_FLAGS
Enumeration of possible FlexRay flags.
@ FR_FLAG_RESERVED
Reserved bit
@ FR_FLAG_NFI
Null-Frame-Indicator.
@ FR_FLAG_PAYLOADPREAMBLE
Payload Preamble
@ FR_FLAG_STARTUP
Startup-Frame
static uint16_t GetStructureSize(tFR_TAG nTag, uint8_t nPayloadLength=0)
Returns the size of this structure.
int64_t nTimeStamp
Hardware timestamp in µs.
uint8_t nReserved
Reserved for future use.
uint16_t nSize
Total size in bytes of this structure.
tFR_TAG
Enumeration of possible FlexRay tags.
@ FR_TAG_INVALID
Tag for invalid data.
@ FR_TAG_SYNC
Tag for sync data.
@ FR_TAG_FRAME
Tag for frame data.
@ FR_TAG_CYCLESTART
Tag for cycle start data.
@ FR_TAG_PDU
tag for PDU data