跳转到内容

BM_CanStatusInfoTypeDef

结构体与成员名称和 BMAPI SDK 保持一致,便于直接对应头文件与示例代码。

BM_CanStatusInfoTypeDef data structure.

Member Declaration Description
TXBO uint8_t TXBO The CAN channel is in BUSOFF state
reserved uint8_t reserved [1] Reserved
TXBP uint8_t TXBP The CAN channel is in TX bus passive state
RXBP uint8_t RXBP The CAN channel is in RX bus passive state
TXWARN uint8_t TXWARN The CAN channel is in TX warn state
RXWARN uint8_t RXWARN The CAN channel is in RX warn state
TEC uint8_t TEC TX Bus Error counter
REC uint8_t REC RX Bus Error counter

This data-structure reference follows the current BUSMUST BMAPI SDK.