Home |
RTTarget-32 Programming Manual Function RTModemControl System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTModemControlFunction RTModemControl can change control lines of the UART: void RTModemControl(int Port, int SetToOneZero, int NewValue); ParametersPortMust have value RT_COM1 .. RT_COM4. SetToOneZeroIf SetToOneZero == 1, the value is "ored" with the register; otherwise, it is "not-anded". NewValueThe modem control byte. See the status mask constants in RTTCom.H for all possible values.
|