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

Macros

#define IS_CAN_TRANSMITMAILBOX(TRANSMITMAILBOX)   ((TRANSMITMAILBOX) <= ((uint8_t)0x02))
 
#define IS_CAN_STDID(STDID)   ((STDID) <= ((uint32_t)0x7FF))
 
#define IS_CAN_EXTID(EXTID)   ((EXTID) <= ((uint32_t)0x1FFFFFFF))
 
#define IS_CAN_DLC(DLC)   ((DLC) <= ((uint8_t)0x08))
 

Detailed Description

Macro Definition Documentation

#define IS_CAN_DLC (   DLC)    ((DLC) <= ((uint8_t)0x08))

Definition at line 402 of file stm32f10x_can.h.

#define IS_CAN_EXTID (   EXTID)    ((EXTID) <= ((uint32_t)0x1FFFFFFF))

Definition at line 401 of file stm32f10x_can.h.

#define IS_CAN_STDID (   STDID)    ((STDID) <= ((uint32_t)0x7FF))

Definition at line 400 of file stm32f10x_can.h.

#define IS_CAN_TRANSMITMAILBOX (   TRANSMITMAILBOX)    ((TRANSMITMAILBOX) <= ((uint8_t)0x02))

Definition at line 399 of file stm32f10x_can.h.