The following flags are returned by canReadStatus(). Note that more than one flag might be set at any one time.
| Flag | Meaning |
|---|---|
| canSTAT_ERROR_PASSIVE | The circuit is error passive |
| canSTAT_BUS_OFF | The circuit is Off Bus |
| canSTAT_ERROR_WARNING | At least one error counter > 96 |
| canSTAT_ERROR_ACTIVE | The circuit is error active. |
| canSTAT_TX_PENDING | There are messages pending transmission |
| canSTAT_RX_PENDING | There are messages in the receive buffer |
| canSTAT_TXERR | There has been at least one TX error |
| canSTAT_RXERR | There has been at least one RX error of some sort |
| canSTAT_HW_OVERRUN | The has been at least one HW buffer overflow |
| canSTAT_SW_OVERRUN | The has been at least one SW buffer overflow |