| Contents | Index |
xPC Target Library for RS232
A setup block is a subsystem block that sets up the interface characteristics for the board.
For Quatech boards, this setup block is for one channel or port.
From the list, choose a port. The Port parameter defines the port this driver block configures.
Enter a divisor integer. The block determines the actual baud rate for a particular channel by dividing the maximum baud rate by this divisor. This number can be different for each channel.
From the list, choose a baud rate.
From the list, choose either 5, 6, 7 or 8 to define the number of data bits for the port.
From the list, choose either 1 or 2 to define the number of stop bits for the port.
From the list, choose None, Even, Odd, Mark or Space. This parameter defines the receive and transfer parity.
From the list, choose 64 deep, 16 deep, or 1 deep. This parameter sets the transmit and receive FIFO depth. The UART can operate with a hardware FIFO depth of 1 character (1 deep), 16 characters (16 deep), or 64 characters (64 deep).
From the list, choose 1, quarter full, half full, or almost full. This parameter defines a trigger level for a receive data available interrupt. When the hardware FIFO reaches the level specified in this parameter, the driver asserts the receive data available interrupt.
Select this check box to enable hardware-controlled handshaking using the RTS and CTS modem control lines. If this is not checked, no handshaking is done.
Enter the base address of the board that you are setting up.
For Diamond-MM-8 boards, this block uses the base address you enter for the Send/Receive block.
This field contains the value of the IRQ number parameter from the Parameter Group: Board Setup of the Send/Receive block.
For Emerald-MM-8, this block setting programs the board IRQ.
If only one board of this type is in the target PC, enter
-1
to automatically locate the board.
If two or more boards of this type are in the target PC, 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
getxpcpci

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |