|
||
|
Hardware reference : Interfaces Controllers and General Input/Output : Serial (RS-232C) Ports | ||||||||||||||
|
|
|||||||||||||||
Serial (RS-232C) Portsconfig file SDEV_# = device_name baud_rate tty_modes edconf: INTERFACES screen SERIAL DEVICE <>TYPE <>BAUD <>MODE 0 YES /dev/ttya1 <> 9600 cooked igncr 1 YES /dev/ttya2 <> 2400 raw 2 NO 3 NOSerial ports for use with the user-level ser_get() and
ser_put() built-in functions are also selected on the
interfaces screen. The device name, baud rate and serial line modes
are selected for up to four serial devices. The number of the device
is used as the first argument to the ser_put() and
ser_get() functions. Available tty modes are either
raw or >cooked, with cooked mode also having
noflow, igncr (a no-op on non-System V systems) and
evenp or oddp options.The <>TYPE field allows serial devices connected through
special software servers used at ESRF or with EPICS to be selected.
For normal serial devices, the field should contain the characters
<> . See the Reference Manual for a description of the
spec functions that access the serial ports.
|
|||||||||||||||
|
|
|||||||||||||||