跳转到内容

BM_StatTypeDef 枚举参考

BMAPI 1.14.0.42 · bm_usb_def.h

typedef enum
{
BM_STAT_NONE = 0U,
BM_STAT_TX_MESSAGE,
BM_STAT_RX_MESSAGE,
BM_STAT_TX_BYTE,
BM_STAT_RX_BYTE,
BM_STAT_TX_ERROR,
BM_STAT_RX_ERROR,
BM_STAT_TOTAL_STORAGE_SIZE_KB,
BM_STAT_FREE_STORAGE_SIZE_KB,
BM_STAT_TXQ_BYTE,
BM_STAT_RXQ_BYTE,
BM_STAT_REPLAYQ_BYTE,
BM_STAT_LOGGINGQ_BYTE,
BM_STAT_REPLAYFILE_BYTE,
BM_STAT_LOGGINGFILE_BYTE,
BM_STAT_TXQ_MAXSIZE_BYTE,
BM_STAT_RXQ_MAXSIZE_BYTE,
BM_STAT_REPLAYQ_MAXSIZE_BYTE,
BM_STAT_LOGGINGQ_MAXSIZE_BYTE,
BM_STAT_REPLAYFILE_MAXSIZE_BYTE,
BM_STAT_LOGGINGFILE_MAXSIZE_BYTE,
BM_STAT_CAP = 0x40U,
BM_STAT_MAX_RXFILTER,
BM_STAT_MAX_TXTASK,
BM_STAT_MAX_MESSAGE_INFO,
BM_STAT_MAX_SIGNAL_INFO,
BM_STAT_MAX_E2E_INFO,
BM_STAT_MAX_ROUTE,
BM_STAT_SUPPORT_OFFLINE = 0x60U,
BM_STAT_SUPPORT_ROUTE,
BM_STAT_SUPPORT_LOGGING,
BM_STAT_SUPPORT_REPLAY,
BM_SUPPORT_BUFFER_API,
BM_SUPPORT_FATFS_API,
} BM_StatTypeDef;

CAN runtime statistics item IDs, used in BM_GetStat().

名称 值表达式 说明
BM_STAT_NONE 0U Invalid statistics item
BM_STAT_TX_MESSAGE 隐式递增,见定义 Number of TX messages
BM_STAT_RX_MESSAGE 隐式递增,见定义 Number of RX messages
BM_STAT_TX_BYTE 隐式递增,见定义 Number of TX bytes
BM_STAT_RX_BYTE 隐式递增,见定义 Number of RX bytes
BM_STAT_TX_ERROR 隐式递增,见定义 Number of TX errors
BM_STAT_RX_ERROR 隐式递增,见定义 Number of RX errors
BM_STAT_TOTAL_STORAGE_SIZE_KB 隐式递增,见定义 Offline storage total size (kB)
BM_STAT_FREE_STORAGE_SIZE_KB 隐式递增,见定义 Offline storage free size (kB)
BM_STAT_TXQ_BYTE 隐式递增,见定义 Current used size of TXQ, in bytes
BM_STAT_RXQ_BYTE 隐式递增,见定义 Current used size of RXQ, in bytes
BM_STAT_REPLAYQ_BYTE 隐式递增,见定义 Current used size of REPLAYQ, in bytes
BM_STAT_LOGGINGQ_BYTE 隐式递增,见定义 Current used size of LOGGINGQ, in bytes
BM_STAT_REPLAYFILE_BYTE 隐式递增,见定义 Current size of replay file, in bytes
BM_STAT_LOGGINGFILE_BYTE 隐式递增,见定义 Current size of logging file, in bytes
BM_STAT_TXQ_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of TXQ, in bytes
BM_STAT_RXQ_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of RXQ, in bytes
BM_STAT_REPLAYQ_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of REPLAYQ, in bytes
BM_STAT_LOGGINGQ_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of LOGGINGQ, in bytes
BM_STAT_REPLAYFILE_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of replay file, in bytes
BM_STAT_LOGGINGFILE_MAXSIZE_BYTE 隐式递增,见定义 Max acceptable size of logging file, in bytes
BM_STAT_CAP 0x40U 原始素材未提供说明。
BM_STAT_MAX_RXFILTER 隐式递增,见定义 Max allowed RX filter count
BM_STAT_MAX_TXTASK 隐式递增,见定义 Max allowed TX Task count
BM_STAT_MAX_MESSAGE_INFO 隐式递增,见定义 Max allowed Router message count
BM_STAT_MAX_SIGNAL_INFO 隐式递增,见定义 Max allowed Router signal count
BM_STAT_MAX_E2E_INFO 隐式递增,见定义 Max allowed Router E2E count
BM_STAT_MAX_ROUTE 隐式递增,见定义 Max allowed Router route count
BM_STAT_SUPPORT_OFFLINE 0x60U This device supports offline storage of configuration info
BM_STAT_SUPPORT_ROUTE 隐式递增,见定义 This device supports message route
BM_STAT_SUPPORT_LOGGING 隐式递增,见定义 This device supports logging CAN traffic into offline storage
BM_STAT_SUPPORT_REPLAY 隐式递增,见定义 This device supports replaying CAN traffic from offline storage
BM_SUPPORT_BUFFER_API 隐式递增,见定义 原始素材未提供说明。
BM_SUPPORT_FATFS_API 隐式递增,见定义 原始素材未提供说明。

来源:BMAPI 1.14.0.42 正式 Doxygen 文档。技术说明保留原文;安装包中的头文件和帮助文档定义对应版本的接口契约。