sb8255 (version 1.4)
index
/home/perky/lib/python2.3/site-packages/sb8255.so

 
Classes
            
exceptions.Exception
error
 
class error(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'sb8255'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
Functions
            
clear(...)
clear(port): Clear the 8255 port.
init(...)
init(mode_a=0, mode_b=0, mode_c_upper=0, mode_c_lower=0): Initialize 8255.
(0 for output, 1 for input)
inp(...)
inp(port): Input from port a value.
outp(...)
outp(port, value): Output to port a value.
reset(...)
reset(): Reset all 8255 ports.
 
Data
             CTRL_REG = 795
PORT_A = 792
PORT_B = 793
PORT_C = 794
__file__ = '/home/perky/lib/python2.3/site-packages/sb8255.so'
__name__ = 'sb8255'
__version__ = '$Revision: 1.3 $'