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

Method CommControl

source/SerialComms.cpp:638–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638BYTE __stdcall CSuperSerialCard::CommControl(WORD, WORD, BYTE write, BYTE value, ULONG)
639{
640 if (!CheckComm())
641 return 0;
642
643 if (write && (value != m_uControlByte))
644 {
645 UpdateControlReg(value);
646 UpdateCommState();
647 }
648
649 return m_uControlByte;
650}
651
652//===========================================================================
653

Callers 2

SSC_IOReadMethod · 0.80
SSC_IOWriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected