Classes | |
class | PCA9535 |
class | PCA9555 |
Functions | |
def | __init__ |
def | __str__ |
def | __digitalRead__ |
def | __digitalWrite__ |
def | __getFunction__ |
def | __setFunction__ |
def | __portRead__ |
def | __portWrite__ |
def | reset |
def | __resetFunctions__ |
def | __resetOutputs__ |
def | __getAddress__ |
def | __getChannel__ |
def | __updateInputMask__ |
def | __getFunctionMasks__ |
Variables | |
list | FUNCTIONS = [] |
int | INPUTMASK = 0 |
int | IP0 = 0x00 |
int | OP0 = 0x02 |
int | CP0 = 0x06 |
int | CHANNELS = 16 |
int | BANKS = 2 |
int | OP_DEFAULT = 0xFF |
int | CP_DEFAULT = 0xFF |
def webiopi.devices.digital.pca9555.__digitalRead__ | ( | self, | |
channel | |||
) |
Definition at line 84 of file pca9555.py.
def webiopi.devices.digital.pca9555.__digitalWrite__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 94 of file pca9555.py.
def webiopi.devices.digital.pca9555.__getAddress__ | ( | self, | |
register, | |||
channel = 0 |
|||
) |
Definition at line 162 of file pca9555.py.
def webiopi.devices.digital.pca9555.__getChannel__ | ( | self, | |
register, | |||
channel | |||
) |
Definition at line 166 of file pca9555.py.
def webiopi.devices.digital.pca9555.__getFunction__ | ( | self, | |
channel | |||
) |
Definition at line 103 of file pca9555.py.
def webiopi.devices.digital.pca9555.__getFunctionMasks__ | ( | self | ) |
Definition at line 179 of file pca9555.py.
def webiopi.devices.digital.pca9555.__init__ | ( | self, | |
slave = 0x20 |
|||
) |
Definition at line 70 of file pca9555.py.
References webiopi.utils.types.toint().
def webiopi.devices.digital.pca9555.__portRead__ | ( | self | ) |
Definition at line 121 of file pca9555.py.
def webiopi.devices.digital.pca9555.__portWrite__ | ( | self, | |
value | |||
) |
Definition at line 136 of file pca9555.py.
def webiopi.devices.digital.pca9555.__resetFunctions__ | ( | self | ) |
Definition at line 152 of file pca9555.py.
def webiopi.devices.digital.pca9555.__resetOutputs__ | ( | self | ) |
Definition at line 158 of file pca9555.py.
def webiopi.devices.digital.pca9555.__setFunction__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 106 of file pca9555.py.
def webiopi.devices.digital.pca9555.__str__ | ( | self | ) |
Definition at line 78 of file pca9555.py.
def webiopi.devices.digital.pca9555.__updateInputMask__ | ( | self | ) |
Definition at line 172 of file pca9555.py.
def webiopi.devices.digital.pca9555.reset | ( | self | ) |
Definition at line 145 of file pca9555.py.
int webiopi.devices.digital.pca9555.BANKS = 2 |
Definition at line 63 of file pca9555.py.
int webiopi.devices.digital.pca9555.CHANNELS = 16 |
Definition at line 62 of file pca9555.py.
int webiopi.devices.digital.pca9555.CP0 = 0x06 |
Definition at line 57 of file pca9555.py.
int webiopi.devices.digital.pca9555.CP_DEFAULT = 0xFF |
Definition at line 65 of file pca9555.py.
webiopi.devices.digital.pca9555.FUNCTIONS = [] |
Definition at line 47 of file pca9555.py.
webiopi.devices.digital.pca9555.INPUTMASK = 0 |
Definition at line 48 of file pca9555.py.
int webiopi.devices.digital.pca9555.IP0 = 0x00 |
Definition at line 51 of file pca9555.py.
int webiopi.devices.digital.pca9555.OP0 = 0x02 |
Definition at line 53 of file pca9555.py.
int webiopi.devices.digital.pca9555.OP_DEFAULT = 0xFF |
Definition at line 64 of file pca9555.py.