User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 40 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Set Break Off: IOCTL_SERIAL_SET_BREAK_OFF
This I/O control request is used to turn off the break condition on a serial device.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_SET BREAK_OFF,
NULL,
0,
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Set Break On: IOCTL_SERIAL_SET_BREAK_ON
This I/O control request is used to turn on the break condition on a serial device.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_SET BREAK_ON,
NULL,
0,
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Setup Special Characters: IOCTL_SERIAL_SET_CHARS
This I/O control request sets up the special characters (e.g. XON and XOFF characters) on
a serial port.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_SET_CHARS,
pChars, // pointer to a SERIAL_CHARS structure
1
)
sizeof(*pChars),
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);