VECTOR_BLF_CANDRIVERERROR(3)

πŸ“¦ version 2.4.2, in arch rolling

okay so bestie, welcome to Vector::BL...DriverError(3) from the Library Functions Manual β€” this is the class page for Vector::BLF::CanDriverError, and the whole vibe is literally CAN_DRIVER_ERROR πŸ’…

🌸 NAME 🌸

Vector::BLF::CanDriverError β€” CAN_DRIVER_ERROR.

No cap, that's the name. 🫢

✨ SYNOPSIS ✨

#include <CanDriverError.h>

Inherits Vector::BLF::ObjectHeader β€” yes bestie, it's in the family tree 🌳

πŸ’… Public Member Functions

  • void read (AbstractFile &is) override β€” reads this object's data from is. Input stream energy ✨
  • void write (AbstractFile &os) override β€” writes this object's data to os. Output stream slay πŸ’–
  • uint32_t calculateObjectSize () const override β€” calculates the object size and returns it. Math but make it cute πŸŽ€

🌈 Public Member Functions inherited from Vector::BLF::ObjectHeader

  • ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) β€” builds an ObjectHeader from objectType and objectVersion, and objectVersion defaults to 0 ⭐
  • void read (AbstractFile &is) override β€” inherited read, reads from is πŸ¦‹
  • void write (AbstractFile &os) override β€” inherited write, writes to os 🌸
  • uint16_t calculateHeaderSize () const override β€” inherited header-size calculator, doing its little header-size thing πŸ’«
  • uint32_t calculateObjectSize () const override β€” inherited object-size calculator, returns object size πŸ”₯

πŸŽ€ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) β€” builds an ObjectHeaderBase from headerVersion and objectType 🧚
  • ObjectHeaderBase (const ObjectHeaderBase &)=default β€” defaulted copy constructor, iconic copy behavior πŸ‘‘
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default β€” defaulted copy assignment, assignment but make it default πŸ’œ
  • ObjectHeaderBase (ObjectHeaderBase &&)=default β€” defaulted move constructor, move-out energy 🌈
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default β€” defaulted move assignment, move-assign era πŸ’«

πŸ“ Public Attributes

  • uint16_t channel {} β€” application channel
  • uint8_t txErrors {} β€” # of TX errors
  • uint8_t rxErrors {} β€” # of RX errors
  • uint32_t errorCode {} β€” CAN driver error code.

🌸 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 } β€” the ObjectFlags enum, with TimeTenMics = 0x00000001 and TimeOneNans = 0x00000002 ⭐

πŸ’– Detailed Description πŸ’–

CAN_DRIVER_ERROR.

CAN driver error information for transceiver of a CAN channel.

✨ Member Function Documentation ✨

uint32_t Vector::BLF::CanDriverError::calculateObjectSize () const

[override], [virtual]

Calculates the objectSize

Returns β€” object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::CanDriverError::read (AbstractFile & is) [override], [virtual]

Read the data of this object

Parameters β€” is input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::CanDriverError::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::CanDriverError::channel {}

application channel CAN channel the driver error information belongs to.

uint32_t Vector::BLF::CanDriverError::errorCode {}

CAN driver error code. Error code

uint8_t Vector::BLF::CanDriverError::rxErrors {}

# of RX errors Number of receive errors that occurred in CAN controller for that channel.

uint8_t Vector::BLF::CanDriverError::txErrors {}

# of TX errors Number of transmit errors that occurred in CAN controller for that channel.

🌈 Author 🌈

Generated automatically by Doxygen for Vector BLF from the source code.


sign-off from the footer, bestie: Vector BLF Β· Vector::BL...DriverError(3) β€” no date printed on this one, that's literally the footer vibe πŸ’œπŸŽ€

πŸ“¦ where this page comes from