External Interfaces Previous page   Next Page
BaudRate

Specify the rate at which bits are transmitted

Description

You configure BaudRate as bits per second. The transferred bits include the start bit, the data bits, the parity bit (if used), and the stop bits. However, only the data bits are stored.

The baud rate is the rate at which information is transferred in a communication channel. In the serial port context, "9600 baud" means that the serial port is capable of transferring a maximum of 9600 bits per second. If the information unit is one baud (one bit), then the bit rate and the baud rate are identical. If one baud is given as 10 bits, (for example, eight data bits plus two framing bits), the bit rate is still 9600 but the baud rate is 9600/10, or 960. You always configure BaudRate as bits per second. Therefore, in the above example, set BaudRate to 9600.

Standard baud rates include 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 128000 and 256000 bits per second. To display the supported baud rates for the serial ports on your platform, refer to Finding Serial Port Information for Your Platform.

Characteristics

Read only
Never
Data type
Double

Values

The default value is 9600.

See Also

Properties

DataBits, Parity, StopBits


Previous page  Serial Port Object Properties BreakInterruptFcn Next page

© 1994-2005 The MathWorks, Inc.