CARME-M4 BSP  V1.5
+ Collaboration diagram for CAN_interrupts:

Macros

#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)
 

Detailed Description

Macro Definition Documentation

#define CAN_IT_BOF   ((uint32_t)0x00000400)

Bus-off Interrupt

Definition at line 558 of file stm32f4xx_can.h.

#define CAN_IT_EPV   ((uint32_t)0x00000200)

Error passive Interrupt

Definition at line 557 of file stm32f4xx_can.h.

#define CAN_IT_ERR   ((uint32_t)0x00008000)

Error Interrupt

Definition at line 560 of file stm32f4xx_can.h.

#define CAN_IT_EWG   ((uint32_t)0x00000100)

Error warning Interrupt

Definition at line 556 of file stm32f4xx_can.h.

#define CAN_IT_FF0   ((uint32_t)0x00000004)

FIFO 0 full Interrupt

Definition at line 545 of file stm32f4xx_can.h.

#define CAN_IT_FF1   ((uint32_t)0x00000020)

FIFO 1 full Interrupt

Definition at line 548 of file stm32f4xx_can.h.

#define CAN_IT_FMP0   ((uint32_t)0x00000002)

FIFO 0 message pending Interrupt

Definition at line 544 of file stm32f4xx_can.h.

#define CAN_IT_FMP1   ((uint32_t)0x00000010)

FIFO 1 message pending Interrupt

Definition at line 547 of file stm32f4xx_can.h.

#define CAN_IT_FOV0   ((uint32_t)0x00000008)

FIFO 0 overrun Interrupt

Definition at line 546 of file stm32f4xx_can.h.

#define CAN_IT_FOV1   ((uint32_t)0x00000040)

FIFO 1 overrun Interrupt

Definition at line 549 of file stm32f4xx_can.h.

#define CAN_IT_LEC   ((uint32_t)0x00000800)

Last error code Interrupt

Definition at line 559 of file stm32f4xx_can.h.

#define CAN_IT_SLK   ((uint32_t)0x00020000)

Sleep acknowledge Interrupt

Definition at line 553 of file stm32f4xx_can.h.

#define CAN_IT_TME   ((uint32_t)0x00000001)

Transmit mailbox empty Interrupt

Definition at line 541 of file stm32f4xx_can.h.

#define CAN_IT_WKU   ((uint32_t)0x00010000)

Wake-up Interrupt

Definition at line 552 of file stm32f4xx_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))
#define CAN_IT_EWG
#define CAN_IT_ERR
#define CAN_IT_FOV0
#define CAN_IT_SLK
#define CAN_IT_TME
#define CAN_IT_BOF
#define CAN_IT_WKU
#define CAN_IT_LEC
#define CAN_IT_FF1
#define CAN_IT_EPV
#define CAN_IT_FF0
#define CAN_IT_FOV1

Definition at line 576 of file stm32f4xx_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))
#define CAN_IT_EWG
#define CAN_IT_ERR
#define CAN_IT_FOV0
#define CAN_IT_SLK
#define CAN_IT_TME
#define CAN_IT_BOF
#define CAN_IT_WKU
#define CAN_IT_LEC
#define CAN_IT_FF1
#define CAN_IT_EPV
#define CAN_IT_FF0
#define CAN_IT_FMP0
#define CAN_IT_FMP1
#define CAN_IT_FOV1

Definition at line 568 of file stm32f4xx_can.h.