Technical data
SunOS 5.5 Devices bpp(7D)
Transfer Parameters
Structure
This structure is defined in <sys/bpp_io.h>.
struct bpp_transfer_parms {
enum handshake_t
read_handshake; /∗ parallel port read handshake mode ∗/
int read_setup_time; /∗ DSS register - in nanoseconds ∗/
int read_strobe_width; /∗ DSW register - in nanoseconds ∗/
int read_timeout; /∗
∗ wait this many seconds
∗ before aborting a transfer
∗/
enum handshake_t
write_handshake; /∗ parallel port write handshake mode ∗/
int write_setup_time; /∗ DSS register - in nanoseconds ∗/
int write_strobe_width; /∗ DSW register - in nanoseconds ∗/
int write_timeout; /∗
∗ wait this many seconds
∗ before aborting a transfer
∗/
};
/∗ Values for read_handshake and write_handshake fields ∗/
enum handshake_t {
BPP_NO_HS,/∗no handshake pins ∗/
BPP_ACK_HS,/∗handshake controlled by ACK line ∗/
BPP_BUSY_HS,/∗handshake controlled by BSY line ∗/
BPP_ACK_BUSY_HS,/∗
∗handshake controlled by ACK and BSY lines
∗ read_handshake only!
∗/
BPP_XSCAN_HS,/∗xerox scanner mode,
∗ read_handshake only!
∗/
BPP_HSCAN_HS,/∗
∗HP scanjet scanner mode
∗ read_handshake only!
∗/
BPP_CLEAR_MEM,/∗write 0’s to memory,
∗ read_handshake only!
∗/
BPP_SET_MEM,/∗write 1’s to memory,
∗ read_handshake only!
∗/
/∗ The following handshakes are RESERVED. Do not use. ∗/
modified 22 Aug 1994 7D-45










