STM32G474xx HAL 用户手册
宏定义
FDCAN 帧格式
FDCAN 导出常量

宏定义

#define FDCAN_FRAME_CLASSIC   ((uint32_t)0x00000000U)
#define FDCAN_FRAME_FD_NO_BRS   ((uint32_t)FDCAN_CCCR_FDOE)
#define FDCAN_FRAME_FD_BRS   ((uint32_t)(FDCAN_CCCR_FDOE | FDCAN_CCCR_BRSE))

宏定义文档

#define FDCAN_FRAME_CLASSIC   ((uint32_t)0x00000000U)

经典模式

Definition at line 538 of file stm32g4xx_hal_fdcan.h.

#define FDCAN_FRAME_FD_BRS   ((uint32_t)(FDCAN_CCCR_FDOE | FDCAN_CCCR_BRSE))

FD 模式(带比特率切换)

Definition at line 540 of file stm32g4xx_hal_fdcan.h.

Referenced by HAL_FDCAN_Init().

#define FDCAN_FRAME_FD_NO_BRS   ((uint32_t)FDCAN_CCCR_FDOE)

FD 模式(不带比特率切换)

Definition at line 539 of file stm32g4xx_hal_fdcan.h.