STM32G474xx HAL用户手册
数据结构 | 宏定义 | 类型定义 | 枚举 | 函数
stm32g4xx_hal_fdcan.h 文件参考

FDCAN HAL模块的头文件。 更多...

#include "stm32g4xx_hal_def.h"

转到此文件的源代码。

数据结构

struct  FDCAN_InitTypeDef
 FDCAN初始化结构体定义。 更多...
struct  FDCAN_FilterTypeDef
 FDCAN滤波器结构体定义。 更多...
struct  FDCAN_TxHeaderTypeDef
 FDCAN发送头结构体定义。 更多...
struct  FDCAN_RxHeaderTypeDef
 FDCAN接收头结构体定义。 更多...
struct  FDCAN_TxEventFifoTypeDef
 FDCAN发送事件FIFO结构体定义。 更多...
struct  FDCAN_HpMsgStatusTypeDef
 FDCAN高优先级消息状态结构体定义。 更多...
struct  FDCAN_ProtocolStatusTypeDef
 FDCAN协议状态结构体定义。 更多...
struct  FDCAN_ErrorCountersTypeDef
 FDCAN错误计数器结构体定义。 更多...
struct  FDCAN_MsgRamAddressTypeDef
 FDCAN消息RAM块。 更多...
struct  __FDCAN_HandleTypeDef
 FDCAN句柄结构体定义。 更多...

宏定义

#define HAL_FDCAN_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_FDCAN_ERROR_TIMEOUT   ((uint32_t)0x00000001U)
#define HAL_FDCAN_ERROR_NOT_INITIALIZED   ((uint32_t)0x00000002U)
#define HAL_FDCAN_ERROR_NOT_READY   ((uint32_t)0x00000004U)
#define HAL_FDCAN_ERROR_NOT_STARTED   ((uint32_t)0x00000008U)
#define HAL_FDCAN_ERROR_NOT_SUPPORTED   ((uint32_t)0x00000010U)
#define HAL_FDCAN_ERROR_PARAM   ((uint32_t)0x00000020U)
#define HAL_FDCAN_ERROR_PENDING   ((uint32_t)0x00000040U)
#define HAL_FDCAN_ERROR_RAM_ACCESS   ((uint32_t)0x00000080U)
#define HAL_FDCAN_ERROR_FIFO_EMPTY   ((uint32_t)0x00000100U)
#define HAL_FDCAN_ERROR_FIFO_FULL   ((uint32_t)0x00000200U)
#define HAL_FDCAN_ERROR_LOG_OVERFLOW   FDCAN_IR_ELO
#define HAL_FDCAN_ERROR_RAM_WDG   FDCAN_IR_WDI
#define HAL_FDCAN_ERROR_PROTOCOL_ARBT   FDCAN_IR_PEA
#define HAL_FDCAN_ERROR_PROTOCOL_DATA   FDCAN_IR_PED
#define HAL_FDCAN_ERROR_RESERVED_AREA   FDCAN_IR_ARA
#define HAL_FDCAN_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000100U)
#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_MODE_NORMAL   ((uint32_t)0x00000000U)
#define FDCAN_MODE_RESTRICTED_OPERATION   ((uint32_t)0x00000001U)
#define FDCAN_MODE_BUS_MONITORING   ((uint32_t)0x00000002U)
#define FDCAN_MODE_INTERNAL_LOOPBACK   ((uint32_t)0x00000003U)
#define FDCAN_MODE_EXTERNAL_LOOPBACK   ((uint32_t)0x00000004U)
#define FDCAN_CLOCK_DIV1   ((uint32_t)0x00000000U)
#define FDCAN_CLOCK_DIV2   ((uint32_t)0x00000001U)
#define FDCAN_CLOCK_DIV4   ((uint32_t)0x00000002U)
#define FDCAN_CLOCK_DIV6   ((uint32_t)0x00000003U)
#define FDCAN_CLOCK_DIV8   ((uint32_t)0x00000004U)
#define FDCAN_CLOCK_DIV10   ((uint32_t)0x00000005U)
#define FDCAN_CLOCK_DIV12   ((uint32_t)0x00000006U)
#define FDCAN_CLOCK_DIV14   ((uint32_t)0x00000007U)
#define FDCAN_CLOCK_DIV16   ((uint32_t)0x00000008U)
#define FDCAN_CLOCK_DIV18   ((uint32_t)0x00000009U)
#define FDCAN_CLOCK_DIV20   ((uint32_t)0x0000000AU)
#define FDCAN_CLOCK_DIV22   ((uint32_t)0x0000000BU)
#define FDCAN_CLOCK_DIV24   ((uint32_t)0x0000000CU)
#define FDCAN_CLOCK_DIV26   ((uint32_t)0x0000000DU)
#define FDCAN_CLOCK_DIV28   ((uint32_t)0x0000000EU)
#define FDCAN_CLOCK_DIV30   ((uint32_t)0x0000000FU)
#define FDCAN_TX_FIFO_OPERATION   ((uint32_t)0x00000000U)
#define FDCAN_TX_QUEUE_OPERATION   ((uint32_t)FDCAN_TXBC_TFQM)
#define FDCAN_STANDARD_ID   ((uint32_t)0x00000000U)
#define FDCAN_EXTENDED_ID   ((uint32_t)0x40000000U)
#define FDCAN_DATA_FRAME   ((uint32_t)0x00000000U)
#define FDCAN_REMOTE_FRAME   ((uint32_t)0x20000000U)
#define FDCAN_DLC_BYTES_0   ((uint32_t)0x00000000U)
#define FDCAN_DLC_BYTES_1   ((uint32_t)0x00000001U)
#define FDCAN_DLC_BYTES_2   ((uint32_t)0x00000002U)
#define FDCAN_DLC_BYTES_3   ((uint32_t)0x00000003U)
#define FDCAN_DLC_BYTES_4   ((uint32_t)0x00000004U)
#define FDCAN_DLC_BYTES_5   ((uint32_t)0x00000005U)
#define