STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for CAN Operating Mode:

Macros

#define CAN_MODE_NORMAL   0x00000000U
 
#define CAN_MODE_LOOPBACK   ((uint32_t)CAN_BTR_LBKM)
 
#define CAN_MODE_SILENT   ((uint32_t)CAN_BTR_SILM)
 
#define CAN_MODE_SILENT_LOOPBACK   ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM))
 
#define CAN_MODE_NORMAL   (0x00000000U)
 
#define CAN_MODE_LOOPBACK   ((uint32_t)CAN_BTR_LBKM)
 
#define CAN_MODE_SILENT   ((uint32_t)CAN_BTR_SILM)
 
#define CAN_MODE_SILENT_LOOPBACK   ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM))
 

Detailed Description

Macro Definition Documentation

◆ CAN_MODE_NORMAL [1/2]

#define CAN_MODE_NORMAL   0x00000000U

#include <stm32f4xx_hal_can_legacy.h>

Normal mode

Definition at line 272 of file stm32f4xx_hal_can_legacy.h.

◆ CAN_MODE_LOOPBACK [1/2]

#define CAN_MODE_LOOPBACK   ((uint32_t)CAN_BTR_LBKM)

#include <stm32f4xx_hal_can_legacy.h>

Loopback mode

Definition at line 273 of file stm32f4xx_hal_can_legacy.h.

◆ CAN_MODE_SILENT [1/2]

#define CAN_MODE_SILENT   ((uint32_t)CAN_BTR_SILM)

#include <stm32f4xx_hal_can_legacy.h>

Silent mode

Definition at line 274 of file stm32f4xx_hal_can_legacy.h.

◆ CAN_MODE_SILENT_LOOPBACK [1/2]

#define CAN_MODE_SILENT_LOOPBACK   ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM))

#include <stm32f4xx_hal_can_legacy.h>

Loopback combined with silent mode

Loopback combined with silent mode

Definition at line 275 of file stm32f4xx_hal_can_legacy.h.

◆ CAN_MODE_NORMAL [2/2]

#define CAN_MODE_NORMAL   (0x00000000U)

#include <stm32f4xx_hal_can.h>

Normal mode

Definition at line 337 of file stm32f4xx_hal_can.h.

◆ CAN_MODE_LOOPBACK [2/2]

#define CAN_MODE_LOOPBACK   ((uint32_t)CAN_BTR_LBKM)

#include <stm32f4xx_hal_can.h>

Loopback mode

Definition at line 338 of file stm32f4xx_hal_can.h.

◆ CAN_MODE_SILENT [2/2]

#define CAN_MODE_SILENT   ((uint32_t)CAN_BTR_SILM)

#include <stm32f4xx_hal_can.h>

Silent mode

Definition at line 339 of file stm32f4xx_hal_can.h.

◆ CAN_MODE_SILENT_LOOPBACK [2/2]

#define CAN_MODE_SILENT_LOOPBACK   ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM))

#include <stm32f4xx_hal_can.h>

Loopback combined with silent mode

Definition at line 340 of file stm32f4xx_hal_can.h.