uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN_filter_mode

Macros

#define CAN_FilterMode_IdMask   ((uint8_t)0x00)
 
#define CAN_FilterMode_IdList   ((uint8_t)0x01)
 
#define IS_CAN_FILTER_MODE(MODE)
 

Detailed Description

Macro Definition Documentation

#define CAN_FilterMode_IdList   ((uint8_t)0x01)

identifier list mode

Definition at line 353 of file stm32f10x_can.h.

#define CAN_FilterMode_IdMask   ((uint8_t)0x00)

identifier/mask mode

Definition at line 352 of file stm32f10x_can.h.

#define IS_CAN_FILTER_MODE (   MODE)
Value:
(((MODE) == CAN_FilterMode_IdMask) || \
((MODE) == CAN_FilterMode_IdList))

Definition at line 355 of file stm32f10x_can.h.