Module ioLabs :: Class Interrupt
[frames] | no frames]

Class Interrupt

source code

object --+
         |
        Interrupt
Known Subclasses:
VoiceKey

either int0 or int1 on the USBBox

Instance Methods
 
__init__(self, commands, mask, int_num)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties
  enabled
enable/disable the interrupt
  debounce_down
  debounce_up

Inherited from object: __class__

Method Details

__init__(self, commands, mask, int_num)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Property Details

enabled

enable/disable the interrupt
Get Method:
ioLabs.Interrupt._get_enabled(self)
Set Method:
ioLabs.Interrupt._set_enabled(self, enabled)

debounce_down

Get Method:
ioLabs.Interrupt._get_debounce_down(self)
Set Method:
ioLabs.Interrupt._set_debounce_down(self, debounce)

debounce_up

Get Method:
ioLabs.Interrupt._get_debounce_up(self)
Set Method:
ioLabs.Interrupt._set_debounce_up(self, debounce)