Functions | |
| def | get_mapping |
| def | patch |
| def | patch_all |
| def | set_pdo |
| def | to_hex |
Variables | |
| tuple | args = parser.parse_args(args) |
| dictionary | bitlengths |
| out = args.out | |
| tuple | parser = argparse.ArgumentParser() |
| def pdo.get_mapping | ( | ini, | |
| name, | |||
| writable | |||
| ) |
| def pdo.patch | ( | fname, | |
| out, | |||
| writable, | |||
| nr, | |||
| objs, | |||
| transmission | |||
| ) |
| def pdo.patch_all | ( | fname, | |
| out, | |||
| pdos | |||
| ) |
| def pdo.set_pdo | ( | ini, | |
| writable, | |||
| nr, | |||
| objs, | |||
| transmission | |||
| ) |
| def pdo.to_hex | ( | value, | |
| digits | |||
| ) |
| tuple pdo::args = parser.parse_args(args) |
| dictionary pdo::bitlengths |
00001 { 00002 0x0002: 8, # DEFTYPE_INTEGER8 00003 0x0003: 16, #D EFTYPE_INTEGER16 00004 0x0004: 32, # DEFTYPE_INTEGER32 00005 0x0005: 8, # DEFTYPE_UNSIGNED8 00006 0x0006: 16, # DEFTYPE_UNSIGNED16 00007 0x0007: 32, # DEFTYPE_UNSIGNED32 00008 0x0008: 32, # DEFTYPE_REAL32 00009 0x0010: 64, # DEFTYPE_REAL64 00010 0x0015: 64, # DEFTYPE_INTEGER64 00011 0x001B: 64, #DEFTYPE_UNSIGNED64 00012 }
| tuple pdo::parser = argparse.ArgumentParser() |