h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_UARTInterruptEnable h2. HAL_UARTInterruptEnable h5. (HAL entry #72) <pre> int HAL_UARTInterruptEnable(int port, int eor, int mask) </pre> |_<. Entry | | |port |Port number to modify | |eor |EOR mask | |mask |AND mask | |_<. Exit | | |- |Returns previous interrupt state | 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. Enables/disables interrupts for the specified port. Interrupts are modified in the following manner: <pre> new_state = (old_state AND mask) EOR eor </pre> The meaning of each interrupt bit is as follows: |_<. Bit |_<. Meaning | |0 |Receiver Data Available (and Character Timeout) | |1 |Transmitter Holding Register Empty | |2 |Received Line Status | |3 |Modem Status | h4. See also * [[HAL UART API]] h6. Information source: Kernel.Docs.HAL.Serial in CVS