h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_UARTInterruptID h2. HAL_UARTInterruptID h5. (HAL entry #79) <pre> int HAL_UARTInterruptID(int port) </pre> |_<. Entry | | |port |Port number to query | |_<. Exit | | |- |Returns the highest prioirty interrupt currently asserted. | 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. Returns the highest priority interrupt currently asserted. In order of priority: * 3 => Receiver Line Status (Cleared by [[HAL_UARTReceiveByte]]/[[HAL_UARTLineStatus]]) * 2 => Received Data Available (Cleared by reading enough data) * 6 => Character Timeout (received data waiting) * 1 => TX Holding Register Empty (Cleared by this call)/FIFO under threshold (cleared by sending enough chars) * 0 => Modem Status (Cleared by [[HAL_UARTModemStatus]]) * -1 => No Interrupt The Modem Status interrupt occurs when the CTS, DSR or DCD inputs change, or when RI goes from high to low (ie bits 0 to 3 of [[HAL_UARTModemStatus]] are set). h4. See also * [[HAL UART API]] h6. Information source: Kernel.Docs.HAL.Serial in CVS