User`s manual
Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 41 -
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
Note:
1
) This structure is used to pass the new special character setting. It is defined in the C
header file “ntddekf.h” delivered with the driver installation package. See also description in
section “
SERIAL_CHARS
”
Set Modem Line DTR: IOCTL_SERIAL_SET_DTR
This I/O control request sets the modem line
Data Terminal Ready
(DTR) on a serial port.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_SET_DTR,
NULL,
0,
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Setup Flow Control: IOCTL_SERIAL_SET_HANDFLOW
This I/O control request sets up the handshake and flow control values on a serial port.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_SET_HANDFLOW,
pHandFlow, // pointer to a SERIAL_HANDFLOW structure
1
)
sizeof(*pHandFlow),
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Note:
1
) This structure is used to pass the new handshake and flow control settings. It is defined in
the C header file “ntddekf.h” delivered with the driver installation package. See also
description in section “
SERIAL_HANDFLOW
”.