Documentation

RS-232/422/485 Enable TX Interrupt (Composite)

RS-232/422/485 Enable TX Interrupt block

Library

Simulink® Real-Time™ Library for RS232

Description

The Enable TX Interrupt block enables the transmitter buffer empty interrupt when data is present in the software FIFO.

The input port for controlling this is a Boolean value. If the input port value is true, the Enable Transmit Interrupt block enables the transmitter buffer empty interrupt in the UART. After the interrupt service routine empties the software FIFO, the interrupt is disabled.

Block Parameters

Base address (Mainboard, ISA boards)

Enter the base address of the UART for which you want to enable the transmitter buffer empty interrupt.

Port (Quatech®, Commtech)

From the list, choose a port. This parameter specifies the input port for which this block enables the interrupt.

Slot (PCI boards)

If only one board of this type is in the target computer, enter -1 to automatically locate the board.

If two or more boards of this type are in the target computer, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber, SlotNumber]. To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')
Was this topic helpful?