h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_UARTModemStatus h2. HAL_UARTModemStatus h5. (HAL entry #82) <pre> int HAL_UARTModemStatus(int port) </pre> |_<. Entry | | |port |Port number to query | |_<. Exit | | |Bit 0 |CTS changed since last call | |Bit 1 |DSR changed since last call | |Bit 2 |RI changed from high to low since last call | |Bit 3 |DCD changed since last call | |Bit 4 |CTS | |Bit 5 |DSR | |Bit 6 |RI | |Bit 7 |DCD | h4. Use This is an internal call for use by the [[DualSerial]] module and should not be used by user code. Instead of calling the HAL directly, user code should interact with the Serial* entries that DualSerial creates in DeviceFS. Reads the modem status inputs. Note that these are logical inputs, although the physical pins may be inverted. So 1 indicates a Clear To Send condition. h4. See also * [[HAL UART API]] h6. Information source: Kernel.Docs.HAL.Serial in CVS