Package libieee1284-devel

Files for developing applications that use libieee1284

http://cyberelk.net/tim/libieee1284/

The header files, static library, libtool library and man pages for
developing applications that use libieee1284.

Library Functions (Section 3)
ieee1284_claim
With the exception of ieee1284_get_deviceid(3), ieee1284_claim must be called on an open port before any other libieee1284 function for accessing a device on...
ieee1284_close
To close an open port and free any resources associated with it, call ieee1284_close.
ieee1284_ecp_fwd_to_rev
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_find_ports
This function should be called before the other libieee1284 functions. This gives the library a chance to look around and see what's available, and gives the...
ieee1284_free_ports
When the port list will no longer be used, the program should call ieee1284_free_ports giving it a pointer to the parport_list structure that holds the list of...
ieee1284_get_deviceid
This function is for retrieving the IEEE 1284 Device ID of the specified device. The device is specified by the port to which it is attached, and optionally an...
ieee1284_get_irq_fd
If the port has a configured interrupt line and the port type supports interrupt notification, it is possible to obtain a file descriptor that may be used for...
ieee1284_negotiate
These functions are for negotiating to and terminating from IEEE 1284 data transfer modes. The default mode is called compatibility mode, or in other words...
ieee1284_nibble_read
This set of functions is for tranferring bytes in the relevant transfer mode. For ECP and EPP modes two types of transfer are possible: data and address...
ieee1284_open
In order to begin using a port it must be opened. Any initial set-up of the port is done at this stage. When an open port is no longer needed it should be...
ieee1284_read_control
There are four control lines, three of which are usually inverted on PC-style ports. Where they differ, libieee1284 operates on the IEEE 1284 values, not the...
ieee1284_read_data
These functions manipulate the data lines of the parallel port associated with port (which must have been claimed using ieee1284_claim(3)). The lines are...
ieee1284_read_status
There are five status lines, one of which is usually inverted on PC-style ports. Where they differ, libieee1284 operates on the IEEE 1284 values, not the...
ieee1284_ref
If you want to free the port list from ieee1284_find_ports but open one of the ports later on, you will need to prevent it from being destroyed in...
ieee1284_release
This function undoes the effect of ieee1284_claim(3) by releasing the port for use by other drivers. It is good practice to release the port whenever...
ieee1284_set_timeout
This function sets a new value for the inactivity timeout (used for block transfer functions), and returns the old value. The port must be claimed. The timeout...
libieee1284
The libieee1284 library is a library for accessing parallel port devices. The model presented to the user is fairly abstract: a list of parallel ports with...
parport
A parport structure represents a parallel port.
parport_list
A parport_list structure is just a vector of parport structures.