Classes | Functions | Variables
pdo.cpp File Reference
#include <canopen_master/canopen.h>
Include dependency graph for pdo.cpp:

Go to the source code of this file.

Classes

class  PDOid
 
struct  PDOmap
 

Functions

bool check_com_changed (const ObjectDict &dict, const uint16_t com_id)
 
bool check_map_changed (const uint8_t &num, const ObjectDict &dict, const uint16_t &map_index)
 

Variables

const uint16_t RPDO_COM_BASE =0x1400
 
const uint16_t RPDO_MAP_BASE =0x1600
 
const uint8_t SUB_COM_COB_ID = 1
 
const uint8_t SUB_COM_NUM = 0
 
const uint8_t SUB_COM_RESERVED = 4
 
const uint8_t SUB_COM_TRANSMISSION_TYPE = 2
 
const uint8_t SUB_MAP_NUM = 0
 
const uint16_t TPDO_COM_BASE =0x1800
 
const uint16_t TPDO_MAP_BASE =0x1A00
 

Function Documentation

◆ check_com_changed()

bool check_com_changed ( const ObjectDict dict,
const uint16_t  com_id 
)

Definition at line 51 of file pdo.cpp.

◆ check_map_changed()

bool check_map_changed ( const uint8_t &  num,
const ObjectDict dict,
const uint16_t &  map_index 
)

Definition at line 67 of file pdo.cpp.

Variable Documentation

◆ RPDO_COM_BASE

const uint16_t RPDO_COM_BASE =0x1400

Definition at line 46 of file pdo.cpp.

◆ RPDO_MAP_BASE

const uint16_t RPDO_MAP_BASE =0x1600

Definition at line 47 of file pdo.cpp.

◆ SUB_COM_COB_ID

const uint8_t SUB_COM_COB_ID = 1

Definition at line 40 of file pdo.cpp.

◆ SUB_COM_NUM

const uint8_t SUB_COM_NUM = 0

Definition at line 39 of file pdo.cpp.

◆ SUB_COM_RESERVED

const uint8_t SUB_COM_RESERVED = 4

Definition at line 42 of file pdo.cpp.

◆ SUB_COM_TRANSMISSION_TYPE

const uint8_t SUB_COM_TRANSMISSION_TYPE = 2

Definition at line 41 of file pdo.cpp.

◆ SUB_MAP_NUM

const uint8_t SUB_MAP_NUM = 0

Definition at line 44 of file pdo.cpp.

◆ TPDO_COM_BASE

const uint16_t TPDO_COM_BASE =0x1800

Definition at line 48 of file pdo.cpp.

◆ TPDO_MAP_BASE

const uint16_t TPDO_MAP_BASE =0x1A00

Definition at line 49 of file pdo.cpp.



canopen_master
Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:21