tools/Master.cpp
changeset 1110 958e49f020a0
parent 1109 11ac4051db6b
child 1114 809f1b16ee7c
equal deleted inserted replaced
1109:11ac4051db6b 1110:958e49f020a0
  1715             pdoType = (sync.control_register & 0x04 ? "R" : "T");
  1715             pdoType = (sync.control_register & 0x04 ? "R" : "T");
  1716             pdoType += "xPdo";
  1716             pdoType += "xPdo";
  1717 
  1717 
  1718             cout
  1718             cout
  1719                 << "          <" << pdoType
  1719                 << "          <" << pdoType
  1720                 << " Sm=\"" << i << "\" Fixed=\"1\">" << endl
  1720                 << " Sm=\"" << i << "\" Fixed=\"1\" Mandatory=\"1\">" << endl
  1721                 << "            <Index>#x"
  1721                 << "            <Index>#x"
  1722                 << hex << setfill('0') << setw(4) << pdo.index
  1722                 << hex << setfill('0') << setw(4) << pdo.index
  1723                 << "</Index>" << endl
  1723                 << "</Index>" << endl
  1724                 << "            <Name>" << pdo.name << "</Name>" << endl;
  1724                 << "            <Name>" << pdo.name << "</Name>" << endl;
  1725 
  1725