CAN_operating_mode
[CAN_Exported_Constants]

Defines

#define CAN_Mode_LoopBack   ((uint8_t)0x01)
#define CAN_Mode_Normal   ((uint8_t)0x00)
#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 202 of file stm32f10x_can.h.

Referenced by CAN_Interrupt(), and CAN_Polling().

#define CAN_Mode_Normal   ((uint8_t)0x00)

normal mode

Definition at line 201 of file stm32f10x_can.h.

Referenced by CAN_Config(), and CAN_StructInit().

#define CAN_Mode_Silent   ((uint8_t)0x02)

silent mode

Definition at line 203 of file stm32f10x_can.h.

#define CAN_Mode_Silent_LoopBack   ((uint8_t)0x03)

loopback combined with silent mode

Definition at line 204 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 206 of file stm32f10x_can.h.

Referenced by CAN_Init().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32