MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / SaveSnapshotDIPSW

Method SaveSnapshotDIPSW

source/SerialComms.cpp:1438–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1436}
1437
1438void CSuperSerialCard::SaveSnapshotDIPSW(YamlSaveHelper& yamlSaveHelper, std::string key, SSC_DIPSW& dipsw)
1439{
1440 YamlSaveHelper::Label label(yamlSaveHelper, "%s:\n", key.c_str());
1441 yamlSaveHelper.SaveUint(SS_YAML_KEY_BAUDRATE, dipsw.uBaudRate);
1442 yamlSaveHelper.SaveUint(SS_YAML_KEY_FWMODE, dipsw.eFirmwareMode);
1443 yamlSaveHelper.SaveUint(SS_YAML_KEY_STOPBITS, dipsw.uStopBits);
1444 yamlSaveHelper.SaveUint(SS_YAML_KEY_BYTESIZE, dipsw.uByteSize);
1445 yamlSaveHelper.SaveUint(SS_YAML_KEY_PARITY, dipsw.uParity);
1446 yamlSaveHelper.SaveBool(SS_YAML_KEY_LINEFEED, dipsw.bLinefeed);
1447 yamlSaveHelper.SaveBool(SS_YAML_KEY_INTERRUPTS, dipsw.bInterrupts);
1448}
1449
1450void CSuperSerialCard::SaveSnapshot(YamlSaveHelper& yamlSaveHelper)
1451{

Callers

nothing calls this directly

Calls 2

SaveUintMethod · 0.80
SaveBoolMethod · 0.80

Tested by

no test coverage detected