Vector BLF
|
LIN_RCV_ERROR. More...
#include <LinReceiveError.h>
Public Member Functions | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint32_t | calculateObjectSize () const override |
![]() | |
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 |
![]() | |
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 | |
uint8_t | id {} |
LIN ID. | |
uint8_t | dlc {} |
LIN DLC. | |
uint8_t | fsmId {} |
uint8_t | fsmState {} |
uint8_t | headerTime {} |
uint8_t | fullTime {} |
uint8_t | stateReason {} |
uint8_t | offendingByte {} |
uint8_t | shortError {} |
uint8_t | timeoutDuringDlcDetection {} |
uint32_t | reservedLinReceiveError {} |
![]() | |
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 | |
![]() | |
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 | |
![]() | |
enum | ObjectFlags : uint32_t { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 } |
LIN_RCV_ERROR.
This event may have a wide variety of causes.
An external Master can cause a receive error event:
|
overridevirtual |
|
overridevirtual |
Read the data of this object
is | input stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
|
overridevirtual |
Write the data of this object
os | output stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
uint16_t Vector::BLF::LinReceiveError::channel {} |
application channel
Channel number where the event notified
uint8_t Vector::BLF::LinReceiveError::dlc {} |
LIN DLC.
Frame length
uint8_t Vector::BLF::LinReceiveError::fsmId {} |
Slave Identifier in the Final State Machine (obsolete)
uint8_t Vector::BLF::LinReceiveError::fsmState {} |
State Identifier of a Slave in the Final State Machine (obsolete)
uint8_t Vector::BLF::LinReceiveError::fullTime {} |
Duration of the entire frame [in bit times]
uint8_t Vector::BLF::LinReceiveError::headerTime {} |
Duration of the frame header [in bit times]
uint8_t Vector::BLF::LinReceiveError::id {} |
LIN ID.
Frame identifier
uint8_t Vector::BLF::LinReceiveError::offendingByte {} |
Byte value that resulted the protocol violation. Only valid for certain values of stateReason
uint32_t Vector::BLF::LinReceiveError::reservedLinReceiveError {} |
reserved
uint8_t Vector::BLF::LinReceiveError::shortError {} |
Specifies the detail level of the event. Following values are possible:
uint8_t Vector::BLF::LinReceiveError::stateReason {} |
The lower 4 bits indicate the LIN hardware state at the time the error has occurred, while the upper 4 bits indicate the reason of the error
Value for the state:
Values for the reason:
uint8_t Vector::BLF::LinReceiveError::timeoutDuringDlcDetection {} |
Flag indicating if the error is a result of an attempt to resolve frame length. Following values are possible: