STM32F10x Standard Peripherals Library  3.5.0
CAN_Mode

Defines

#define CAN_Mode_Normal   ((uint8_t)0x00)
#define CAN_Mode_LoopBack   ((uint8_t)0x01)
#define CAN_Mode_Silent   ((uint8_t)0x02)
#define CAN_Mode_Silent_LoopBack   ((uint8_t)0x03)
#define IS_CAN_MODE(MODE)

Define Documentation

#define CAN_Mode_LoopBack   ((uint8_t)0x01)

loopback mode

Definition at line 224 of file stm32f10x_can.h.

#define CAN_Mode_Normal   ((uint8_t)0x00)

normal mode

Definition at line 223 of file stm32f10x_can.h.

#define CAN_Mode_Silent   ((uint8_t)0x02)

silent mode

Definition at line 225 of file stm32f10x_can.h.

#define CAN_Mode_Silent_LoopBack   ((uint8_t)0x03)

loopback combined with silent mode

Definition at line 226 of file stm32f10x_can.h.

#define IS_CAN_MODE (   MODE)
Value:
(((MODE) == CAN_Mode_Normal) || \
                           ((MODE) == CAN_Mode_LoopBack)|| \
                           ((MODE) == CAN_Mode_Silent) || \
                           ((MODE) == CAN_Mode_Silent_LoopBack))

Definition at line 228 of file stm32f10x_can.h.