ieee1284_ecp_fwd_to_rev, ieee1284_ecp_rev_to_fwd
ECP direction switching
- Provided by: libieee1284-3-dev (Version: 0.2.11-14.1build1)
- Source: libieee1284
- Report a bug
ECP direction switching
int ieee1284_ecp_fwd_to_rev(struct parport *port);
int ieee1284_ecp_rev_to_fwd(struct parport *port);
These functions are used to switch directions when in ECP mode. On negotiation to ECP mode the direction is forward (in other words, host-to-peripheral). Use ieee1284_ecp_fwd_to_rev to switch from forward to reverse, and ieee1284_ecp_rev_to_fwd to switch from reverse to forward.
They act on the parallel port associated with port, which must be claimed.
E1284_OK
E1284_NOTIMPL
E1284_INVALIDPORT
Tim Waugh <twaugh@redhat.com>
Copyright © 2001-2003 Tim Waugh