CAN_interrupts
[CAN_Exported_Constants]

Defines

#define CAN_IT_BOF   ((uint32_t)0x00000400)
#define CAN_IT_EPV   ((uint32_t)0x00000200)
#define CAN_IT_ERR   ((uint32_t)0x00008000)
#define CAN_IT_EWG   ((uint32_t)0x00000100)
#define CAN_IT_FF0   ((uint32_t)0x00000004)
#define CAN_IT_FF1   ((uint32_t)0x00000020)
#define CAN_IT_FMP0   ((uint32_t)0x00000002)
#define CAN_IT_FMP1   ((uint32_t)0x00000010)
#define CAN_IT_FOV0   ((uint32_t)0x00000008)
#define CAN_IT_FOV1   ((uint32_t)0x00000040)
#define CAN_IT_LEC   ((uint32_t)0x00000800)
#define CAN_IT_RQCP0   CAN_IT_TME
#define CAN_IT_RQCP1   CAN_IT_TME
#define CAN_IT_RQCP2   CAN_IT_TME
#define CAN_IT_SLK   ((uint32_t)0x00020000)
#define CAN_IT_TME   ((uint32_t)0x00000001)
#define CAN_IT_WKU   ((uint32_t)0x00010000)
#define IS_CAN_CLEAR_IT(IT)
#define IS_CAN_IT(IT)

Define Documentation

#define CAN_IT_BOF   ((uint32_t)0x00000400)

Bus-off Interrupt

Definition at line 501 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_EPV   ((uint32_t)0x00000200)

Error passive Interrupt

Definition at line 500 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_ERR   ((uint32_t)0x00008000)

Error Interrupt

Definition at line 503 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_EWG   ((uint32_t)0x00000100)

Error warning Interrupt

Definition at line 499 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_FF0   ((uint32_t)0x00000004)

FIFO 0 full Interrupt

Definition at line 488 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_FF1   ((uint32_t)0x00000020)

FIFO 1 full Interrupt

Definition at line 491 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_FMP0   ((uint32_t)0x00000002)

FIFO 0 message pending Interrupt

Definition at line 487 of file stm32f10x_can.h.

Referenced by CAN_GetITStatus(), CAN_Interrupt(), and main().

#define CAN_IT_FMP1   ((uint32_t)0x00000010)

FIFO 1 message pending Interrupt

Definition at line 490 of file stm32f10x_can.h.

Referenced by CAN_GetITStatus().

#define CAN_IT_FOV0   ((uint32_t)0x00000008)

FIFO 0 overrun Interrupt

Definition at line 489 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_FOV1   ((uint32_t)0x00000040)

FIFO 1 overrun Interrupt

Definition at line 492 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_LEC   ((uint32_t)0x00000800)

Last error code Interrupt

Definition at line 502 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_RQCP0   CAN_IT_TME

Definition at line 506 of file stm32f10x_can.h.

#define CAN_IT_RQCP1   CAN_IT_TME

Definition at line 507 of file stm32f10x_can.h.

#define CAN_IT_RQCP2   CAN_IT_TME

Definition at line 508 of file stm32f10x_can.h.

#define CAN_IT_SLK   ((uint32_t)0x00020000)

Sleep acknowledge Interrupt

Definition at line 496 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_TME   ((uint32_t)0x00000001)

Transmit mailbox empty Interrupt

Definition at line 484 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define CAN_IT_WKU   ((uint32_t)0x00010000)

Wake-up Interrupt

Definition at line 495 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit(), and CAN_GetITStatus().

#define IS_CAN_CLEAR_IT ( IT   ) 
Value:
(((IT) == CAN_IT_TME)    || ((IT) == CAN_IT_FF0)    ||\
                             ((IT) == CAN_IT_FOV0)   || ((IT) == CAN_IT_FF1)    ||\
                             ((IT) == CAN_IT_FOV1)   || ((IT) == CAN_IT_EWG)    ||\
                             ((IT) == CAN_IT_EPV)    || ((IT) == CAN_IT_BOF)    ||\
                             ((IT) == CAN_IT_LEC)    || ((IT) == CAN_IT_ERR)    ||\
                             ((IT) == CAN_IT_WKU)    || ((IT) == CAN_IT_SLK))

Definition at line 519 of file stm32f10x_can.h.

Referenced by CAN_ClearITPendingBit().

#define IS_CAN_IT ( IT   ) 
Value:
(((IT) == CAN_IT_TME)   || ((IT) == CAN_IT_FMP0)  ||\
                             ((IT) == CAN_IT_FF0)   || ((IT) == CAN_IT_FOV0)  ||\
                             ((IT) == CAN_IT_FMP1)  || ((IT) == CAN_IT_FF1)   ||\
                             ((IT) == CAN_IT_FOV1)  || ((IT) == CAN_IT_EWG)   ||\
                             ((IT) == CAN_IT_EPV)   || ((IT) == CAN_IT_BOF)   ||\
                             ((IT) == CAN_IT_LEC)   || ((IT) == CAN_IT_ERR)   ||\
                             ((IT) == CAN_IT_WKU)   || ((IT) == CAN_IT_SLK))

Definition at line 511 of file stm32f10x_can.h.

Referenced by CAN_GetITStatus(), and CAN_ITConfig().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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