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

Macros

#define CAN_IT_RQCP0   ((uint32_t)0x00000005)
 
#define CAN_IT_RQCP1   ((uint32_t)0x00000006)
 
#define CAN_IT_RQCP2   ((uint32_t)0x00000007)
 
#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_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_WKU   ((uint32_t)0x00010000)
 
#define CAN_IT_SLK   ((uint32_t)0x00020000)
 
#define IS_CAN_ITConfig(IT)
 
#define IS_CAN_ITStatus(IT)
 

Detailed Description

Macro Definition Documentation

#define CAN_IT_BOF   ((uint32_t)0x00000400)

Bus-off

#define CAN_IT_EPV   ((uint32_t)0x00000200)

Error passive

#define CAN_IT_ERR   ((uint32_t)0x00008000)

Error

#define CAN_IT_EWG   ((uint32_t)0x00000100)

Error warning

#define CAN_IT_FF0   ((uint32_t)0x00000004)

FIFO 0 full

#define CAN_IT_FF1   ((uint32_t)0x00000020)

FIFO 1 full

#define CAN_IT_FMP0   ((uint32_t)0x00000002)

FIFO 0 message pending

#define CAN_IT_FMP1   ((uint32_t)0x00000010)

FIFO 1 message pending

#define CAN_IT_FOV0   ((uint32_t)0x00000008)

FIFO 0 overrun

#define CAN_IT_FOV1   ((uint32_t)0x00000040)

FIFO 1 overrun

#define CAN_IT_LEC   ((uint32_t)0x00000800)

Last error code

#define CAN_IT_RQCP0   ((uint32_t)0x00000005)

Request completed mailbox 0

#define CAN_IT_RQCP1   ((uint32_t)0x00000006)

Request completed mailbox 1

#define CAN_IT_RQCP2   ((uint32_t)0x00000007)

Request completed mailbox 2

#define CAN_IT_SLK   ((uint32_t)0x00020000)

Sleep

#define CAN_IT_TME   ((uint32_t)0x00000001)

Transmit mailbox empty

#define CAN_IT_WKU   ((uint32_t)0x00010000)

Wake-up

#define IS_CAN_ITConfig (   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 IS_CAN_ITStatus (   IT)
Value:
(((IT) == CAN_IT_RQCP0) || ((IT) == CAN_IT_RQCP1) ||\
((IT) == CAN_IT_RQCP2) || ((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_WKU) || ((IT) == CAN_IT_SLK))