uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Macros

#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)
 

Detailed Description

Macro Definition 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) || \

Definition at line 228 of file stm32f10x_can.h.