Vector::BLF::FlexRayVFrError(3) Library Functions Manual NAME Vector::BLF::FlexRayVFrError - FR_ERROR. SYNOPSIS #include Inherits Vector::BLF::ObjectHeader. Public Member Functions void read (AbstractFile &is) override void write (AbstractFile &os) override uint32_t calculateObjectSize () const override Public Member Functions inherited from Vector::BLF::ObjectHeader ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) void read (AbstractFile &is) override void write (AbstractFile &os) override uint16_t calculateHeaderSize () const override uint32_t calculateObjectSize () const override Public Member Functions inherited from Vector::BLF::ObjectHeaderBase ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) ObjectHeaderBase (const ObjectHeaderBase &)=default ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default ObjectHeaderBase (ObjectHeaderBase &&)=default ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default Public Attributes uint16_t channel {} application channel uint16_t version {} object version uint16_t channelMask {} channel mask uint8_t cycle {} current cycle uint8_t reservedFlexRayVFrError1 {} uint32_t clientIndexFlexRayVFrError {} clientindex of send node uint32_t clusterNo {} number of cluster uint32_t tag {} type of cc std::array< uint32_t, 4 > data {} register flags uint32_t reservedFlexRayVFrError2 {} Public Attributes inherited from Vector::BLF::ObjectHeader uint32_t objectFlags {ObjectFlags::TimeOneNans} object flags uint16_t clientIndex {} client index of send node uint16_t objectVersion {0} object specific version uint64_t objectTimeStamp {} object timestamp Public Attributes inherited from Vector::BLF::ObjectHeaderBase uint32_t signature {ObjectSignature} signature (ObjectSignature) uint16_t headerSize {} sizeof object header uint16_t headerVersion {} header version (1) uint32_t objectSize {} object size ObjectType objectType {ObjectType::UNKNOWN} object type Additional Inherited Members Public Types inherited from Vector::BLF::ObjectHeader enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 } Detailed Description FR_ERROR. FlexRay Error event transmitted by the FlexRay hardware. Member Function Documentation uint32_t Vector::BLF::FlexRayVFrError::calculateObjectSize () const [override], [virtual] Calculates the objectSize Returns object size Reimplemented from Vector::BLF::ObjectHeaderBase. void Vector::BLF::FlexRayVFrError::read (AbstractFile & is) [override], [virtual] Read the data of this object Parameters is input stream Reimplemented from Vector::BLF::ObjectHeaderBase. void Vector::BLF::FlexRayVFrError::write (AbstractFile & os) [override], [virtual] Write the data of this object Parameters os output stream Reimplemented from Vector::BLF::ObjectHeaderBase. Member Data Documentation uint16_t Vector::BLF::FlexRayVFrError::channel {} application channel Application channel uint16_t Vector::BLF::FlexRayVFrError::channelMask {} channel mask Channel Mask o 0 = Reserved or invalid o 1 = FlexRay Channel A o 2 = FlexRay Channel B o 3 = FlexRay Channels A and B uint32_t Vector::BLF::FlexRayVFrError::clientIndexFlexRayVFrError {} clientindex of send node Client index of send node. Must be set to 0 if file is written from other applications uint32_t Vector::BLF::FlexRayVFrError::clusterNo {} number of cluster Number of cluster: channel number - 1 uint8_t Vector::BLF::FlexRayVFrError::cycle {} current cycle Cycle number std::array Vector::BLF::FlexRayVFrError::data {} register flags Driver flags for internal usage CC-Type: Cyclone I o data[0]: Error flags from driver API CC-Type: Cyclone II o data[0]: Error packet flag: o 0 = No error o 1 = FlexCard overflow o 2 = PCO error mode changed o 3 = Sync frames below minimum o 4 = Sync frame overflow o 5 = Clock correction failure o 6 = Parity error o 7 = Receive FIFO overrun o 8 = Empty FIFO access o 9 = Illegal input buffer access o 10 = Illegal output buffer access o 11 = Syntax error o 12 = Content error o 13 = Slot boundary violation o 14 = Transmission across boundary o 15 = Latest transmit violation o data[1]: uint32_t layout depends on the error packet value (see previous row) o Error packet=2: o 0 = Unknown state o 1 = FlexRay protocol spec. > CONFIG o 2 = FlexRay protocol spec. > NORMAL_ACTIVE o 3 = FlexRay protocol spec. > NORMAL_PASSIVE o 4 = FlexRay protocol spec. > HALT o 5 = FlexRay protocol spec. > READY o 6 = FlexRay protocol spec. > STARTUP o 7 = FlexRay protocol spec. > WAKEUP o Error packet = 3 or 4: o Bits 0..3 > Sync frames even on channel A o Bits 4..7 > Sync frames even on channel B o Bits 8..11 > Sync frames odd on channel A o Bits 12..15 > Sync frames odd on channel B o Error packet = 5: o Bit 0 > Missing rate correction o Bit 1 > Rate correction limit reached o Bit 2 > Offset correction limit reached o Bit 3 > Missing offset correction o Bit 4..7 > Sync frames even on channel A o Bits 8..11 > Sync frames even on channel B o Bits 12..15 > Sync frames odd on channel A o Bits 16..19 > Sync frames odd on channel B o Error packet = 11..15: o LOW-WORD of mData[1] > Channel o HI-WORD of mData[1] > Slot count CC-Type: BUSDOCTOR o data[0]: Error flags from driver API CC-Type: VN-Interface o data[0]: Error tag: o 0 = FR_ERROR_POC_MODE o 1 = FR_ERROR_SYNC_FRAMES_BELOWMIN o 2 = FR_ERROR_SYNC_FRAMES_OVERLOAD o 3 = FR_ERROR_CLOCK_CORR_FAILURE o 4 = FR_ERROR_NIT_FAILURE o 5 = FR_ERROR_CC_ERROR o 6 = FR_ERROR_OVERFLOW o data[1] and data[2]: uint32_t layout depends on the error tag value (see previous row): o Error tag = 0: o Value 0: FR_ERROR_POC_ACTIVE o Value 1: FR_ERROR_POC_PASSIVE o Value 2: FR_ERROR_POC_COMM_HALT o Error tag = 1 or 2: o Bits 0..3: Sync frames even on channel A o Bits 4..7: Sync frames even on channel B o Bits 8..11: Sync frames odd on channel A o Bits 12..15: Sync frames odd on channel B o Error tag = 3: o Bit 0: Missing rate correction o Bit 1: Missing rate correction limit reached o Bit 2: Offset correction limit reached o Bit 3: Missing offset correction o Bits 4..19: Clock correction failed counter o Bits 20..23: Sync frames even on channel A o Bits 24..27: Sync frames even on channel B o Bits 28..31: Sync frames odd on channel A o Bits 32..35: Sync frames odd on channel B o Error tag = 4: o Value 1: FR_ERROR_NIT_SENA o Value 2: FR_ERROR_NIT_SBNA o Value 4: FR_ERROR_NIT_SENB o Value 8: FR_ERROR_NIT_SBNB o Error tag = 5: o Value 0x00000001: POC Error Mode Changed o Value 0x00000004: Sync Frames Below Minimum o Value 0x00000008: Sync Frame Overflow o Value 0x00000010: Clock Correction Failure o Value 0x00000040: Parity Error, data from MHDS (internal ERay error) o Value 0x00000200: Illegal Input Buffer Access (internal ERay error) o Value 0x00000400: Illegal Output Buffer Access (internal ERay error) o Value 0x00000800: Message Handler Constraints Flag data from MHDF (internal ERay error) o Value 0x00010000: Error Detection on channel A, data from ACS o Value 0x00020000: Latest Transmit Violation on channel A o Value 0x00040000: Transmit Across Boundary on Channel A o Value 0x01000000: Error Detection on channel B, data from ACS o Value 0x02000000: Latest Transmit Violation on channel B o Value 0x04000000: Transmit Across Boundary on Channel B uint8_t Vector::BLF::FlexRayVFrError::reservedFlexRayVFrError1 {} reserved uint32_t Vector::BLF::FlexRayVFrError::reservedFlexRayVFrError2 {} reserved uint32_t Vector::BLF::FlexRayVFrError::tag {} type of cc Type of communication controller o 0 = Architecture independent o 1 = Invalid CC type (for internal use only) o 2 = Cyclone I o 3 = BUSDOCTOR o 4 = Cyclone II o 5 = Vector VN interface o 6 = VN-Sync-Pulse (only in Status Event, for debugging purposes only) uint16_t Vector::BLF::FlexRayVFrError::version {} object version Object version, for internal use Author Generated automatically by Doxygen for Vector BLF from the source code. Vector BLF Vector::BLF::FlexRayVFrError(3)