On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTKernel-32 Programming Manual
RTKernel-32 Reference Manual
Module RTKernel-32
Module FineTime
Module Clock
Module Timer
Module RTCom
Function COMSetBoardType
Function COMSetIOBase
Function COMSetIRQ
Function COMPortInit
Function COMHasFIFO
Function COMEnableFIFO
Function COMSetProtocol
Function COMAllocateBuffers
Function COMEnableInterrupt
Function COMDisableInterrupt
Function COMSendChar
Function COMSendCharTimed
Function COMSendBlock
Function COMSendBlockTimed
Function COMWaitSendBufferEmpty
Function COMSetModemStatusHook
Function COMReceiveCharPolled
Function COMSendCharPolled
Function COMLineStatus
Function COMModemStatus
Function COMModemControl
Function COMError
Module RTKeybrd
Module RTTextIO
Module CPUMoni
Module RTProf
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Function COMModemStatus
COMModemStatus reads a port's Modem Status Register:
BYTE COMModemStatus(int Port);
ParametersPortThe port to enquire.
return valueThe following bits are defined:
Value |
Meaning |
COM_DCTS |
Signal CTS has changed |
COM_DDSR |
Signal DSR has changed |
COM_DRI |
Signal RI has changed |
COM_DDCD |
Signal DCD has changed |
COM_CTS |
Clear To Send |
COM_DSR |
Data Set Ready |
COM_RI |
Ring Indicator |
COM_DCD |
Data Carrier Detect |
Function COMLineStatus
Function COMModemControl
|