External Interfaces Previous page   Next Page
StopBits

Specify the number of bits used to indicate the end of a byte

Description

You can configure StopBits to be 1, 1.5, or 2. If StopBits is 1, one stop bit is used to indicate the end of data transmission. If StopBits is 2, two stop bits are used to indicate the end of data transmission. If StopBits is 1.5, the stop bit is transferred for 150% of the normal time used to transfer one bit.

In addition to the stop bits, the serial data format consists of a start bit, between five and eight data bits, and possibly a parity bit. You specify the number of data bits with the DataBits property, and the type of parity checking with the Parity property.

Characteristics

Read only
Never
Data type
Double

Values

{1}
One stop bit is transmitted to indicate the end of a byte.
1.5
The stop bit is transferred for 150% of the normal time used to transfer one bit.
2
Two stop bits are transmitted to indicate the end of a byte.

See Also

Properties

DataBits, Parity


Previous page  Status Tag Next page

© 1994-2005 The MathWorks, Inc.