CANopen Slave Documentation
Version 6.16.04
Loading...
Searching...
No Matches
Identifier mask values

Macros

#define ID_MASK_VALUE   ((uint32_t) 0x1FFFFFFF)
 
#define ID_MASK_IS_EXTENDED   ((uint32_t) 0x20000000)
 
#define ID_MASK_IS_DISABLED   ((uint32_t) 0x80000000)
 

Detailed Description

The value of a COB-ID consists of a 29-bit identifier field and 3 additional bits for control.

Macro Definition Documentation

◆ ID_MASK_IS_DISABLED

#define ID_MASK_IS_DISABLED   ((uint32_t) 0x80000000)

The service using this identifier is disabled.

◆ ID_MASK_IS_EXTENDED

#define ID_MASK_IS_EXTENDED   ((uint32_t) 0x20000000)

The value of the 29-bit CAN-ID is an extended frame

◆ ID_MASK_VALUE

#define ID_MASK_VALUE   ((uint32_t) 0x1FFFFFFF)

Mask the valid 29-bit identifier value.