CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches

Set object to standard or extended. More...

Macros

#define ARM_CAN_STANDARD_ID(id)   (id & 0x000007FFUL)
 CAN identifier in standard format (11-bits)
 
#define ARM_CAN_EXTENDED_ID(id)   ((id & 0x1FFFFFFFUL) | ARM_CAN_ID_IDE_Msk)
 CAN identifier in extended format (29-bits)
 

Description

Set object to standard or extended.

Macro Definition Documentation

◆ ARM_CAN_STANDARD_ID

#define ARM_CAN_STANDARD_ID (   id)    (id & 0x000007FFUL)

CAN identifier in standard format (11-bits)

See also
ARM_CAN_ObjectConfigure

◆ ARM_CAN_EXTENDED_ID

#define ARM_CAN_EXTENDED_ID (   id)    ((id & 0x1FFFFFFFUL) | ARM_CAN_ID_IDE_Msk)

CAN identifier in extended format (29-bits)

See also
ARM_CAN_ObjectConfigure