STM32F10x Standard Peripherals Library  3.5.0
CAN_interrupts

Defines

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

Define Documentation

#define CAN_IT_BOF   ((uint32_t)0x00000400)

Bus-off Interrupt

Definition at line 573 of file stm32f10x_can.h.

#define CAN_IT_EPV   ((uint32_t)0x00000200)

Error passive Interrupt

Definition at line 572 of file stm32f10x_can.h.

#define CAN_IT_ERR   ((uint32_t)0x00008000)

Error Interrupt

Definition at line 575 of file stm32f10x_can.h.

#define CAN_IT_EWG   ((uint32_t)0x00000100)

Error warning Interrupt

Definition at line 571 of file stm32f10x_can.h.

#define CAN_IT_FF0   ((uint32_t)0x00000004)

FIFO 0 full Interrupt

Definition at line 560 of file stm32f10x_can.h.

#define CAN_IT_FF1   ((uint32_t)0x00000020)

FIFO 1 full Interrupt

Definition at line 563 of file stm32f10x_can.h.

#define CAN_IT_FMP0   ((uint32_t)0x00000002)

FIFO 0 message pending Interrupt

Definition at line 559 of file stm32f10x_can.h.

#define CAN_IT_FMP1   ((uint32_t)0x00000010)

FIFO 1 message pending Interrupt

Definition at line 562 of file stm32f10x_can.h.

#define CAN_IT_FOV0   ((uint32_t)0x00000008)

FIFO 0 overrun Interrupt

Definition at line 561 of file stm32f10x_can.h.

#define CAN_IT_FOV1   ((uint32_t)0x00000040)

FIFO 1 overrun Interrupt

Definition at line 564 of file stm32f10x_can.h.

#define CAN_IT_LEC   ((uint32_t)0x00000800)

Last error code Interrupt

Definition at line 574 of file stm32f10x_can.h.

#define CAN_IT_RQCP0   CAN_IT_TME

Definition at line 578 of file stm32f10x_can.h.

#define CAN_IT_RQCP1   CAN_IT_TME

Definition at line 579 of file stm32f10x_can.h.

#define CAN_IT_RQCP2   CAN_IT_TME

Definition at line 580 of file stm32f10x_can.h.

#define CAN_IT_SLK   ((uint32_t)0x00020000)

Sleep acknowledge Interrupt

Definition at line 568 of file stm32f10x_can.h.

#define CAN_IT_TME   ((uint32_t)0x00000001)

Transmit mailbox empty Interrupt

Definition at line 556 of file stm32f10x_can.h.

#define CAN_IT_WKU   ((uint32_t)0x00010000)

Wake-up Interrupt

Definition at line 567 of file stm32f10x_can.h.

#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 591 of file stm32f10x_can.h.

#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 583 of file stm32f10x_can.h.