VMX-pi C++ HAL Library for Raspberry Pi
VMX-pi Robotics Controller & Vision/Motion Processor
Public Attributes | List of all members
VMXCANBusStatus Struct Reference

The VMXCANBusStatus structure contains CAN Bus utilitization, status and error information. More...

#include <VMXCAN.h>

Public Attributes

float percentBusUtilization
 Percentage of total CAN bus bandwidth currently utilized.
 
uint32_t busOffCount
 busOffCount: The number of times that sendMessage failed with a busOff error indicating that messages are not successfully transmitted on the bus.
 
uint32_t txFullCount
 txFullCount: The number of times that sendMessage failed with a txFifoFull error indicating that messages are not successfully received by any CAN device.
 
uint32_t receiveErrorCount
 receiveErrorCount: The count of receive errors as reported by the CAN driver. More...
 
uint32_t transmitErrorCount
 transmitErrorCount: The count of transmit errors as reported by the CAN driver. More...
 
bool busWarning
 Currently a bus warning condition exists.
 
bool busPassiveError
 Currently a bus passive condition exists.
 
bool busOffError
 Currently a bus off condition exists.
 
bool hwRxOverflow
 Hardware-level buffer overflow.
 
bool swRxOverflow
 Firmware-level buffer overflow.
 
bool busError
 Transceiver bus error detected.
 
bool wake
 Transceiver wakeup event occurred.
 
bool messageError
 Controller message error detected.
 

Detailed Description

The VMXCANBusStatus structure contains CAN Bus utilitization, status and error information.

Member Data Documentation

◆ receiveErrorCount

uint32_t VMXCANBusStatus::receiveErrorCount

receiveErrorCount: The count of receive errors as reported by the CAN driver.

◆ transmitErrorCount

uint32_t VMXCANBusStatus::transmitErrorCount

transmitErrorCount: The count of transmit errors as reported by the CAN driver.


The documentation for this struct was generated from the following file: