1IEEE1284_ECP_FWD_TO_(3)            Functions           IEEE1284_ECP_FWD_TO_(3)
2
3
4

NAME

6       ieee1284_ecp_fwd_to_rev, ieee1284_ecp_rev_to_fwd - ECP direction
7       switching
8

SYNOPSIS

10       int ieee1284_ecp_fwd_to_rev(struct parport *port);
11
12       int ieee1284_ecp_rev_to_fwd(struct parport *port);
13

DESCRIPTION

15       These functions are used to switch directions when in ECP mode. On
16       negotiation to ECP mode the direction is forward (in other words,
17       host-to-peripheral). Use ieee1284_ecp_fwd_to_rev to switch from forward
18       to reverse, and ieee1284_ecp_rev_to_fwd to switch from reverse to
19       forward.
20
21       They act on the parallel port associated with port, which must be
22       claimed.
23

RETURN VALUE

25       E1284_OK
26           Direction switched successfully.
27
28       E1284_NOTIMPL
29           The port lacks the required capability. This could be due to a
30           limitation of this version of libieee1284, or a hardware
31           limitation.
32
33       E1284_INVALIDPORT
34           The port parameter is invalid (for instance, perhaps the port is
35           not claimed).
36

AUTHOR

38       Tim Waugh <twaugh@redhat.com>
39           Author.
40
42       Copyright © 2001-2003 Tim Waugh
43
44
45
46[FIXME: source]                   01/29/2020           IEEE1284_ECP_FWD_TO_(3)
Impressum