bindings-ppdev-0.0.1: PPDev bindings

Bindings.PpDev

Synopsis

Documentation

c'PPSETMODE :: Num a => aSource

Set mode for read/write (e.g. IEEE1284_MODE_EPP)

c'PPRSTATUS :: Num a => aSource

Read status

c'PPRCONTROL :: Num a => aSource

Read/write control

c'PPRDATA :: Num a => aSource

Read/write data

data C'PPRDATA Source

Constructors

C'PPRDATA 

data C'PPWDATA Source

Constructors

C'PPWDATA 

c'PPCLAIM :: Num a => aSource

Claim the port to start using it

data C'PPCLAIM Source

Constructors

C'PPCLAIM 

c'PPRELEASE :: Num a => aSource

Release the port when you aren't using it

c'PPYIELD :: Num a => aSource

Yield the port (release it if another driver is waiting, then reclaim)

data C'PPYIELD Source

Constructors

C'PPYIELD 

data C'PPEXCL Source

Register device exclusively (must be before PPCLAIM).

Constructors

C'PPEXCL 

c'PPDATADIR :: Num a => aSource

Data line direction: non-zero for input mode.

c'PPNEGOT :: Num a => aSource

Negotiate a particular IEEE 1284 mode.

data C'PPNEGOT Source

Constructors

C'PPNEGOT 

c'PPWCTLONIRQ :: Num a => aSource

Set control lines when an interrupt occurs.

c'PPCLRIRQ :: Num a => aSource

Clear (and return) interrupt count.

data C'PPCLRIRQ Source

Constructors

C'PPCLRIRQ 

c'PPSETPHASE :: Num a => aSource

Set the IEEE 1284 phase that we're in (e.g. IEEE1284_PH_FWD_IDLE)

c'PPGETTIME :: Num a => aSource

Set and get port timeout (struct timeval's)

c'PPGETMODES :: Num a => aSource

Get available modes (what the hardware can do)

c'PPGETMODE :: Num a => aSource

Get the current mode and phaze

c'PPGETFLAGS :: Num a => aSource

get/set flags

c'PP_FASTWRITE :: Num a => aSource

flags visible to the world

c'PP_FLAGMASK :: Num a => aSource

only masks user-visible flags