Serial Communications Library
Copyright (c) 2005, Brian E. Heilig
Eiffel Forum License v2 (see license.txt)
-- Device baud rate
-- Number of bits per data word
-- Parity scheme in use for received and transmitted data
-- Number of stop bits per data word
-- Check receive data for parity errors?
-- Is a_baud a valid baud rate? True only indicates the
-- operating system supports this rate. The device may not.
-- Is a_data_bits a valid data bits setting?
-- Is a_parity a valid parity setting?
-- Is a_stop_bit a valid stop bits setting?
-- Converts a_baud_rate in symbols per second
-- to a baud rate setting
-- Converts a_data_bits in number of data bits to a data bits setting
-- Converts a_parity_char to a parity setting
-- Converts a_stop_bits in number of stop bits to a stop bits setting
-- Initialize this object with settings from dev.
-- Change all settings to default values.
-- Useful to remove any esoteric settings
-- that might be effecting communication
Control settings for an abstract serial communications device. Settings
will not be applied until you call set_control_settings on the device.