Public Member Functions | Static Public Attributes | Private Attributes | List of all members
PDOid Class Reference

Public Member Functions

can::Header header (bool fill_rtr=false) const
 
bool isInvalid () const
 
 PDOid (const uint32_t &val)
 

Static Public Attributes

static const unsigned int EXTENDED_MASK = (1u << 29)
 
static const unsigned int ID_MASK = (1u << 29)-1
 
static const unsigned int INVALID_MASK = (1u << 31)
 
static const unsigned int NO_RTR_MASK = (1u << 30)
 

Private Attributes

const uint32_t value_
 

Detailed Description

Definition at line 8 of file pdo.cpp.

Constructor & Destructor Documentation

◆ PDOid()

PDOid::PDOid ( const uint32_t &  val)
inline

Definition at line 16 of file pdo.cpp.

Member Function Documentation

◆ header()

can::Header PDOid::header ( bool  fill_rtr = false) const
inline

Definition at line 19 of file pdo.cpp.

◆ isInvalid()

bool PDOid::isInvalid ( ) const
inline

Definition at line 22 of file pdo.cpp.

Member Data Documentation

◆ EXTENDED_MASK

const unsigned int PDOid::EXTENDED_MASK = (1u << 29)
static

Definition at line 12 of file pdo.cpp.

◆ ID_MASK

const unsigned int PDOid::ID_MASK = (1u << 29)-1
static

Definition at line 11 of file pdo.cpp.

◆ INVALID_MASK

const unsigned int PDOid::INVALID_MASK = (1u << 31)
static

Definition at line 14 of file pdo.cpp.

◆ NO_RTR_MASK

const unsigned int PDOid::NO_RTR_MASK = (1u << 30)
static

Definition at line 13 of file pdo.cpp.

◆ value_

const uint32_t PDOid::value_
private

Definition at line 9 of file pdo.cpp.


The documentation for this class was generated from the following file:


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:26