CMSIS-Driver  Version 2.04
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN Identifier

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

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

CAN identifier in standard format (11-bits)

See Also
ARM_CAN_ObjectConfigure
#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