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

bool check_com_changed ( const ObjectDict dict,
const uint16_t  com_id 
)

Definition at line 51 of file pdo.cpp.

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

const uint16_t RPDO_COM_BASE = 0x1400

Definition at line 46 of file pdo.cpp.

const uint16_t RPDO_MAP_BASE = 0x1600

Definition at line 47 of file pdo.cpp.

const uint8_t SUB_COM_COB_ID = 1

Definition at line 40 of file pdo.cpp.

const uint8_t SUB_COM_NUM = 0

Definition at line 39 of file pdo.cpp.

const uint8_t SUB_COM_RESERVED = 4

Definition at line 42 of file pdo.cpp.

const uint8_t SUB_COM_TRANSMISSION_TYPE = 2

Definition at line 41 of file pdo.cpp.

const uint8_t SUB_MAP_NUM = 0

Definition at line 44 of file pdo.cpp.

const uint16_t TPDO_COM_BASE = 0x1800

Definition at line 48 of file pdo.cpp.

const uint16_t TPDO_MAP_BASE = 0x1A00

Definition at line 49 of file pdo.cpp.



canopen_master
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:42