|
ADTF Device Toolbox SDK
|
#include <flexray_frame.h>
Classes | |
| struct | tCycleStart |
| struct | tFrame |
| struct | tPDU |
| struct | tSync |
Public Types | |
| enum | tFR_TAG { FR_TAG_INVALID = 0 , FR_TAG_CYCLESTART = 1 , FR_TAG_FRAME = 2 , FR_TAG_PDU = 3 , FR_TAG_SYNC = 4 } |
| enum | tFR_FLAGS { FR_FLAG_STARTUP = 0x01 , FR_FLAG_SYNC = 0x02 , FR_FLAG_NFI = 0x04 , FR_FLAG_PAYLOADPREAMBLE = 0x08 , FR_FLAG_RESERVED = 0x10 } |
| enum | { HEADER_SIZE = sizeof(uint16_t) + sizeof(uint32_t) + sizeof(uint8_t) + sizeof(int64_t) } |
Static Public Member Functions | |
| static uint16_t | GetStructureSize (tFR_TAG nTag, uint8_t nPayloadLength=0) |
Public Attributes | ||
| uint16_t | nSize | |
| Total size in bytes of this structure. | ||
| tFR_TAG | nTag | |
| Tag of union (See tFR_TAG) | ||
| uint8_t | nReserved | |
| Reserved for future use. | ||
| int64_t | nTimeStamp | |
| Hardware timestamp in µs. | ||
| union { | ||
| tCycleStart sCycleStart | ||
| tFrame sFrame | ||
| tPDU sPDU | ||
| tSync sSync | ||
| }; | ||
FlexDay data structured is used for storing and transmitting FlexRay data.
|
inlinestatic |
Returns the size of this structure.
| nTag | [in] See tFR_TAG values |
| nPayloadLength | [in] Payload of frame in words (16-bit) when FR_TAG_FRAME is used, in bytes (8-bit) if FR_TAG_PDU is used! |