This section lists all the constants and types defined for the BJoystick, BSerialPort, BDigitalPort, BA2D, and BD2A classes--though, in fact, only the BSerialPort class relies on any defined constants or types. Everything listed here is explained more fully in the descriptions of the member functions of that class.
Declared in: <device/SerialPort.h>
Enumerated constant |
---|
B_DATA_BITS_7 |
B_DATA_BITS_8 |
These constants name the possible number of data bits in a serial unit.
See also: BSerialPort::SetDataBits()
Declared in: <device/SerialPort.h>
Enumerated constant | Enumerated constant |
---|---|
B_0_BPS | B_1200_BPS |
B_50_BPS | B_1800_BPS |
B_75_BPS | B_2400_BPS |
B_110_BPS | B_4800_BPS |
B_134_BPS | B_9600_BPS |
B_150_BPS | B_19200_BPS |
B_200_BPS | B_38400_BPS |
B_300_BPS | B_57600_BPS |
B_600_BPS | B_115200_BPS |
These constants give the possible rates--in bits per second (bps)-- at which data can be transmitted and received over a serial connection.
See also: BSerialPort::SetDataRate()
Declared in: <device/SerialPort.h>
Enumerated constant |
---|
B_SOFTWARE_CONTROL |
B_HARDWARE_CONTROL |
These constants form a mask that records the method(s) of flow control the serial port driver should use.
See also: BSerialPort::SetFlowControl()
Declared in: <device/SerialPort.h>
Enumerated constant |
---|
B_NO_PARITY |
B_ODD_PARITY |
B_EVEN_PARITY |
These constants list the possibilities for parity when transmitting data over a serial connection.
See also: BSerialPort::SetDataBits()
Declared in: <device/SerialPort.h>
Enumerated constant |
---|
B_STOP_BITS_1 |
B_STOP_BITS_2 |
These constants name the possible number of stop bits in a serial unit.
See also: BSerialPort::SetDataBits()
Declared in: <device/SerialPort.h>
typedef enum { . . . } data_bits
This type is used to set and return the number of data bits in a serial unit.
See also: "data_bits Constants" above, BSerialPort::SetDataBits()
Declared in: <device/SerialPort.h>
typedef enum { . . . } data_rate
This type is used to set and return the rate at which data is sent and received through a serial connection.
See also: "data_rate Constants" above, BSerialPort::SetDataRate()
Declared in: <device/SerialPort.h>
typedef enum { . . . } parity_mode
This type is used to set and return the type of parity that should be used when sending and receiving data.
See also: "parity_mode Constants" above, BSerialPort::SetDataBits()
Declared in: <device/SerialPort.h>
typedef enum { . . . } stop_bits
This type is used to set and return the number of stop bits in a serial unit.
See also: "stop_bits Constants" above, BSerialPort::SetDataBits()
The Be Book, HTML Edition, for Developer Release 8 of the Be Operating System.
Copyright © 1996 Be, Inc. All rights reserved.
Be, the Be logo, BeBox, BeOS, BeWare, and GeekPort are trademarks of Be, Inc.
Last modified September 6, 1996.