Home |
RTKernel-32 Programming Manual Function COMSetIRQ Function COMWaitSendBufferEmpty |
Function COMSetIRQCOMSetIRQ defines the interrupt triggered by a port: void COMSetIRQ(int Port, int IRQ); ParametersIRQThe interrupt to use for the port. PortThe port to be configured. If no IRQ is specified in this call, RTCom assumes IRQ 4 for COM1 and COM3 and IRQ 3 for COM2 and COM4. You can share IRQs for port pairs COM1/COM3 and/or COM2/COM4. Best performance is achieved when each port uses its own IRQ. Only ports 0 .. 5 (COM1 .. COM6) are supported by this call. There are no default values for COM5 and COM6.
|