#include <stddef.h>
#include <canfestival/applicfg.h>
#include "canfestival/def.h"
#include "canfestival/can.h"
#include "canfestival/objdictdef.h"
#include "canfestival/pdo.h"
#include "canfestival/sdo.h"
#include "canfestival/sync.h"
#include "canfestival/lifegrd.h"
#include "canfestival/nmtSlave.h"
Go to the source code of this file.
#define DeclareIndexTableEntry | ( | entryname, | |||
index | ) | { (subindex*)entryname,sizeof(entryname)/sizeof(entryname[0]), index} |
#define NODE_ID 0x01 |
Definition at line 68 of file example_objdict.c.
#define PDO_MAP | ( | index, | |||
sub_index, | |||||
size_variable_in_bits | ) | 0x ## index ## sub_index ## size_variable_in_bits |
UNS32 Linux_slave_valueRangeTest | ( | UNS8 | typeValue, | |
UNS32 | unsValue, | |||
REAL32 | realValue | |||
) |
Definition at line 53 of file example_objdict.c.
UNS32 canopenErrNB = 0 |
Definition at line 43 of file example_objdict.c.
UNS32 canopenErrVAL = 0 |
Definition at line 44 of file example_objdict.c.
UNS8 day = 0 |
Definition at line 42 of file example_objdict.c.
UNS8 hours = 0 |
Definition at line 41 of file example_objdict.c.
UNS8 Linux_slave_bDeviceNodeId = NODE_ID |
Definition at line 69 of file example_objdict.c.
UNS8 Linux_slave_count_sync[1] = {0, } |
Definition at line 558 of file example_objdict.c.
Initial value:
{ SDO_SVR : 11, SDO_CLT : 12, PDO_RCV : 13, PDO_RCV_MAP : 16, PDO_TRS : 19, PDO_TRS_MAP : 22 } quick_index Linux_slave_lastIndex{ SDO_SVR : 11, SDO_CLT : 12, PDO_RCV : 15, PDO_RCV_MAP : 18, PDO_TRS : 21, PDO_TRS_MAP : 24 } UNS16 Linux_slave_ObjdictSize = sizeof(Linux_slave_objdict)/sizeof(Linux_slave_objdict[0])
Definition at line 560 of file example_objdict.c.
TIMER_HANDLE Linux_slave_heartBeatTimers[1] = {TIMER_NONE,} |
Definition at line 177 of file example_objdict.c.
UNS8 Linux_slave_highestSubIndex_2000 = 4 |
Definition at line 491 of file example_objdict.c.
UNS8 Linux_slave_highestSubIndex_6000 = 0 |
Definition at line 502 of file example_objdict.c.
UNS8 Linux_slave_highestSubIndex_6001 = 0 |
Definition at line 509 of file example_objdict.c.
UNS8 Linux_slave_highestSubIndex_6002 = 0 |
Definition at line 516 of file example_objdict.c.
const UNS8 Linux_slave_iam_a_slave |
Initial value:
1 #define PDO_MAP(index, sub_index, size_variable_in_bits) #define DeclareIndexTableEntry(entryname, index) UNS32 Linux_slave_obj1000 = 0
Definition at line 76 of file example_objdict.c.
Initial value:
Definition at line 109 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof(UNS8), (void*)&Linux_slave_obj1001 } }
Definition at line 118 of file example_objdict.c.
Initial value:
{ { RW, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1005 } }
Definition at line 129 of file example_objdict.c.
Initial value:
{ { RW, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1006 } }
Definition at line 142 of file example_objdict.c.
Initial value:
{ { RW, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1007 } }
Definition at line 150 of file example_objdict.c.
Initial value:
{ { RO, uint32, sizeof(Linux_slave_obj1008), (void*)&Linux_slave_obj1008 } }
Definition at line 157 of file example_objdict.c.
Initial value:
{ { RO, uint32, sizeof(Linux_slave_obj1009), (void*)&Linux_slave_obj1009 } }
Definition at line 164 of file example_objdict.c.
Initial value:
{ { RO, uint32, Linux_slave_sizeof(obj100A), (void*)&Linux_slave_obj100A} }
Definition at line 171 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof(UNS8), (void*)&Linux_slave_obj1016_cnt }, { RW, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1016[0] } }
Definition at line 185 of file example_objdict.c.
Initial value:
{ { RW, uint16, sizeof(UNS16), &Linux_slave_obj1017 } }
Definition at line 197 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof(UNS8), (void*)&Linux_slave_obj1018.count }, { RO, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1018.vendor_id}, { RO, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1018.product_code}, { RO, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1018.revision_number}, { RO, uint32, sizeof(UNS32), (void*)&Linux_slave_obj1018.serial_number} }
Definition at line 216 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1200.count }, { RO, uint32, sizeof( UNS32), (void*)&Linux_slave_obj1200.cob_id_client }, { RO, uint32, sizeof( UNS32), (void*)&Linux_slave_obj1200.cob_id_server }, { RW, uint8, sizeof( UNS8), (void*)&Linux_slave_obj1200.node_id } }
Definition at line 238 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1280.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1280.cob_id_client }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1280.cob_id_server }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1280.node_id } }
Definition at line 253 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1400.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1400.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1400.type }, }
Definition at line 267 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1401.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1401.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1401.type }, }
Definition at line 280 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1402.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1402.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1402.type }, }
Definition at line 293 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1600_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1600_mappedVar[7]} }
Definition at line 312 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1601_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1601_mappedVar[7]} }
Definition at line 337 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1602_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1602_mappedVar[7]} }
Definition at line 362 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1800.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1800.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1800.type }, }
Definition at line 381 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1801.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1801.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1801.type }, }
Definition at line 394 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1802.count }, { RW, uint8, sizeof( UNS32 ), (void*)&Linux_slave_obj1802.cob_id }, { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1802.type }, }
Definition at line 407 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1A00_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A00_mappedVar[7]} }
Definition at line 426 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1A01_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A01_mappedVar[7]} }
Definition at line 451 of file example_objdict.c.
Initial value:
{ { RW, uint8, sizeof( UNS8 ), (void*)&Linux_slave_obj1A02_cnt }, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[0]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[1]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[2]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[3]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[4]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[5]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[6]}, { RW, uint32, sizeof( UNS32 ), (void*)&Linux_slave_obj1A02_mappedVar[7]} }
Definition at line 476 of file example_objdict.c.
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_2000 }, { RW, uint8, sizeof (UNS8), (void*)&seconds }, { RW, uint8, sizeof (UNS8), (void*)&minutes }, { RW, uint8, sizeof (UNS8), (void*)&hours }, { RW, uint8, sizeof (UNS8), (void*)&day } }
Definition at line 492 of file example_objdict.c.
Initial value:
{ { RW, uint32, sizeof (UNS32), (void*)&canopenErrNB } }
Definition at line 503 of file example_objdict.c.
Initial value:
{ { RW, uint32, sizeof (UNS32), (void*)&canopenErrVAL } }
Definition at line 510 of file example_objdict.c.
Initial value:
{ { RW, visible_string, sizeof (strTest), (void*)&strTest } }
Definition at line 517 of file example_objdict.c.
UNS8 Linux_slave_obj1001 = 0x0 |
Definition at line 117 of file example_objdict.c.
UNS32 Linux_slave_obj1005 = 0x00000080 |
Definition at line 125 of file example_objdict.c.
UNS32 Linux_slave_obj1006 = 0x0 |
Definition at line 137 of file example_objdict.c.
UNS32 Linux_slave_obj1007 = 0x0 |
Definition at line 149 of file example_objdict.c.
UNS8 Linux_slave_obj1008[] = "Appli_Slave_HC12" |
Definition at line 156 of file example_objdict.c.
UNS8 Linux_slave_obj1009[] = "__DATE__" |
Definition at line 163 of file example_objdict.c.
UNS8 Linux_slave_obj100A[] = __TIME__ |
Definition at line 170 of file example_objdict.c.
UNS32 Linux_slave_obj1016[] |
UNS8 Linux_slave_obj1016_cnt = 1 |
Definition at line 183 of file example_objdict.c.
UNS16 Linux_slave_obj1017 = 0 |
Definition at line 193 of file example_objdict.c.
s_identity Linux_slave_obj1018 |
Initial value:
{ 4, 0, 0, 0, 0 }
Definition at line 207 of file example_objdict.c.
s_sdo_parameter Linux_slave_obj1200 |
s_sdo_parameter Linux_slave_obj1280 |
s_pdo_communication_parameter Linux_slave_obj1400 |
s_pdo_communication_parameter Linux_slave_obj1401 |
s_pdo_communication_parameter Linux_slave_obj1402 |
UNS8 Linux_slave_obj1600_cnt = 0 |
Definition at line 301 of file example_objdict.c.
UNS32 Linux_slave_obj1600_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 302 of file example_objdict.c.
UNS8 Linux_slave_obj1601_cnt = 0 |
Definition at line 326 of file example_objdict.c.
UNS32 Linux_slave_obj1601_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 327 of file example_objdict.c.
UNS8 Linux_slave_obj1602_cnt = 0 |
Definition at line 351 of file example_objdict.c.
UNS32 Linux_slave_obj1602_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 352 of file example_objdict.c.
s_pdo_communication_parameter Linux_slave_obj1800 |
s_pdo_communication_parameter Linux_slave_obj1801 |
s_pdo_communication_parameter Linux_slave_obj1802 |
UNS8 Linux_slave_obj1A00_cnt = 0 |
Definition at line 415 of file example_objdict.c.
UNS32 Linux_slave_obj1A00_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 416 of file example_objdict.c.
UNS8 Linux_slave_obj1A01_cnt = 0 |
Definition at line 440 of file example_objdict.c.
UNS32 Linux_slave_obj1A01_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 441 of file example_objdict.c.
UNS8 Linux_slave_obj1A02_cnt = 0 |
Definition at line 465 of file example_objdict.c.
UNS32 Linux_slave_obj1A02_mappedVar[] |
Initial value:
{ 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }
Definition at line 466 of file example_objdict.c.
const indextable Linux_slave_objdict[] |
Definition at line 522 of file example_objdict.c.
UNS8 minutes = 0 |
Definition at line 40 of file example_objdict.c.
UNS8 seconds = 0 |
Definition at line 39 of file example_objdict.c.
UNS8 strTest[10] = 0 |
Definition at line 45 of file example_objdict.c.