STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
CAN_operating_mode

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)
 
#define CAN_OperatingMode_Initialization   ((uint8_t)0x00)
 
#define CAN_OperatingMode_Normal   ((uint8_t)0x01)
 
#define CAN_OperatingMode_Sleep   ((uint8_t)0x02)
 
#define IS_CAN_OPERATING_MODE(MODE)
 

Detailed Description

Macro Definition Documentation

#define CAN_Mode_LoopBack   ((uint8_t)0x01)

loopback mode

#define CAN_Mode_Normal   ((uint8_t)0x00)

normal mode

#define CAN_Mode_Silent   ((uint8_t)0x02)

silent mode

#define CAN_Mode_Silent_LoopBack   ((uint8_t)0x03)

loopback combined with silent mode

#define CAN_OperatingMode_Initialization   ((uint8_t)0x00)

Initialization mode

#define CAN_OperatingMode_Normal   ((uint8_t)0x01)

Normal mode

#define CAN_OperatingMode_Sleep   ((uint8_t)0x02)

sleep mode

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