DCMD_CHR_FORCE_RTS

Force the RTS line to the specified level

Synopsis:

#include <sys/dcmd_chr.h>

#define DCMD_CHR_FORCE_RTS      __DIOT(_DCMD_CHR, 34, int)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening the device.
dcmd DCMD_CHR_FORCE_RTS
dev_data_ptr A pointer to a int
n_bytes sizeof(int)
dev_info_ptr NULL

Description:

This command forces the RTS line to the specified level.

Note:
  • Not all drivers pay attention to this command.
  • Forcing RTS to low gives control of the RTS line back to io-char (or to the device for auto RTS). In other words, you could force it low, but it could immediately go back high.

Input:

The level of the RTS line: nonzero for high, or zero for low.

Output:

None.

See also:

devctl() in the QNX Neutrino C Library Reference