STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups

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

#define CAN_IT_EPV   ((uint32_t)0x00000200)

Error passive Interrupt

#define CAN_IT_ERR   ((uint32_t)0x00008000)

Error Interrupt

#define CAN_IT_EWG   ((uint32_t)0x00000100)

Error warning Interrupt

#define CAN_IT_FF0   ((uint32_t)0x00000004)

FIFO 0 full Interrupt

#define CAN_IT_FF1   ((uint32_t)0x00000020)

FIFO 1 full Interrupt

#define CAN_IT_FMP0   ((uint32_t)0x00000002)

FIFO 0 message pending Interrupt

#define CAN_IT_FMP1   ((uint32_t)0x00000010)

FIFO 1 message pending Interrupt

#define CAN_IT_FOV0   ((uint32_t)0x00000008)

FIFO 0 overrun Interrupt

#define CAN_IT_FOV1   ((uint32_t)0x00000040)

FIFO 1 overrun Interrupt

#define CAN_IT_LEC   ((uint32_t)0x00000800)

Last error code Interrupt

#define CAN_IT_SLK   ((uint32_t)0x00020000)

Sleep acknowledge Interrupt

#define CAN_IT_TME   ((uint32_t)0x00000001)

Transmit mailbox empty Interrupt

#define CAN_IT_WKU   ((uint32_t)0x00010000)

Wake-up Interrupt

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