CAN_flags
[CAN_Exported_Constants]

Defines

#define CAN_FLAG_BOF   ((uint32_t)0x10F00004)
#define CAN_FLAG_EPV   ((uint32_t)0x10F00002)
#define CAN_FLAG_EWG   ((uint32_t)0x10F00001)
#define CAN_FLAG_FF0   ((uint32_t)0x32000008)
#define CAN_FLAG_FF1   ((uint32_t)0x34000008)
#define CAN_FLAG_FMP0   ((uint32_t)0x12000003)
#define CAN_FLAG_FMP1   ((uint32_t)0x14000003)
#define CAN_FLAG_FOV0   ((uint32_t)0x32000010)
#define CAN_FLAG_FOV1   ((uint32_t)0x34000010)
#define CAN_FLAG_LEC   ((uint32_t)0x30F00070)
#define CAN_FLAG_RQCP0   ((uint32_t)0x38000001)
#define CAN_FLAG_RQCP1   ((uint32_t)0x38000100)
#define CAN_FLAG_RQCP2   ((uint32_t)0x38010000)
#define CAN_FLAG_SLAK   ((uint32_t)0x31000012)
#define CAN_FLAG_WKU   ((uint32_t)0x31000008)
#define IS_CAN_CLEAR_FLAG(FLAG)
#define IS_CAN_GET_FLAG(FLAG)

Define Documentation

#define CAN_FLAG_BOF   ((uint32_t)0x10F00004)

Bus-Off Flag

Definition at line 456 of file stm32f10x_can.h.

#define CAN_FLAG_EPV   ((uint32_t)0x10F00002)

Error Passive Flag

Definition at line 455 of file stm32f10x_can.h.

#define CAN_FLAG_EWG   ((uint32_t)0x10F00001)

Error Warning Flag

Definition at line 454 of file stm32f10x_can.h.

#define CAN_FLAG_FF0   ((uint32_t)0x32000008)

FIFO 0 Full Flag

Definition at line 441 of file stm32f10x_can.h.

#define CAN_FLAG_FF1   ((uint32_t)0x34000008)

FIFO 1 Full Flag

Definition at line 444 of file stm32f10x_can.h.

#define CAN_FLAG_FMP0   ((uint32_t)0x12000003)

FIFO 0 Message Pending Flag

Definition at line 440 of file stm32f10x_can.h.

#define CAN_FLAG_FMP1   ((uint32_t)0x14000003)

FIFO 1 Message Pending Flag

Definition at line 443 of file stm32f10x_can.h.

#define CAN_FLAG_FOV0   ((uint32_t)0x32000010)

FIFO 0 Overrun Flag

Definition at line 442 of file stm32f10x_can.h.

#define CAN_FLAG_FOV1   ((uint32_t)0x34000010)

FIFO 1 Overrun Flag

Definition at line 445 of file stm32f10x_can.h.

#define CAN_FLAG_LEC   ((uint32_t)0x30F00070)

Last error code Flag

Definition at line 457 of file stm32f10x_can.h.

Referenced by CAN_ClearFlag().

#define CAN_FLAG_RQCP0   ((uint32_t)0x38000001)

Request MailBox0 Flag

Definition at line 435 of file stm32f10x_can.h.

#define CAN_FLAG_RQCP1   ((uint32_t)0x38000100)

Request MailBox1 Flag

Definition at line 436 of file stm32f10x_can.h.

#define CAN_FLAG_RQCP2   ((uint32_t)0x38010000)

Request MailBox2 Flag

Definition at line 437 of file stm32f10x_can.h.

#define CAN_FLAG_SLAK   ((uint32_t)0x31000012)

Sleep acknowledge Flag

Definition at line 449 of file stm32f10x_can.h.

#define CAN_FLAG_WKU   ((uint32_t)0x31000008)

Wake up Flag

Definition at line 448 of file stm32f10x_can.h.

#define IS_CAN_CLEAR_FLAG ( FLAG   ) 
Value:
(((FLAG) == CAN_FLAG_LEC) || ((FLAG) == CAN_FLAG_RQCP2) || \
                                ((FLAG) == CAN_FLAG_RQCP1)  || ((FLAG) == CAN_FLAG_RQCP0) || \
                                ((FLAG) == CAN_FLAG_FF0)  || ((FLAG) == CAN_FLAG_FOV0) ||\
                                ((FLAG) == CAN_FLAG_FF1) || ((FLAG) == CAN_FLAG_FOV1) || \
                                ((FLAG) == CAN_FLAG_WKU) || ((FLAG) == CAN_FLAG_SLAK))

Definition at line 468 of file stm32f10x_can.h.

Referenced by CAN_ClearFlag().

#define IS_CAN_GET_FLAG ( FLAG   ) 
Value:
(((FLAG) == CAN_FLAG_LEC)  || ((FLAG) == CAN_FLAG_BOF)   || \
                               ((FLAG) == CAN_FLAG_EPV)  || ((FLAG) == CAN_FLAG_EWG)   || \
                               ((FLAG) == CAN_FLAG_WKU)  || ((FLAG) == CAN_FLAG_FOV0)  || \
                               ((FLAG) == CAN_FLAG_FF0)  || ((FLAG) == CAN_FLAG_FMP0)  || \
                               ((FLAG) == CAN_FLAG_FOV1) || ((FLAG) == CAN_FLAG_FF1)   || \
                               ((FLAG) == CAN_FLAG_FMP1) || ((FLAG) == CAN_FLAG_RQCP2) || \
                               ((FLAG) == CAN_FLAG_RQCP1)|| ((FLAG) == CAN_FLAG_RQCP0) || \
                               ((FLAG) == CAN_FLAG_SLAK ))

Definition at line 459 of file stm32f10x_can.h.

Referenced by CAN_GetFlagStatus().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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