linux

Circuit Status Flags

The following flags are returned by canReadStatus(). Note that more than one flag might be set at any one time.

FlagMeaning
canSTAT_ERROR_PASSIVEThe circuit is error passive
canSTAT_BUS_OFFThe circuit is Off Bus
canSTAT_ERROR_WARNINGAt least one error counter > 96
canSTAT_ERROR_ACTIVEThe circuit is error active.
canSTAT_TX_PENDINGThere are messages pending transmission
canSTAT_RX_PENDINGThere are messages in the receive buffer
canSTAT_TXERRThere has been at least one TX error
canSTAT_RXERRThere has been at least one RX error of some sort
canSTAT_HW_OVERRUNThe has been at least one HW buffer overflow
canSTAT_SW_OVERRUNThe has been at least one SW buffer overflow