pysigrok
0.4.0
Python bindings for libsigrok
|
An object that can be configured. More...
Public Member Functions | |
def | config_keys (self) |
Supported configuration keys. More... | |
def | config_get (self, key) |
Read configuration for the given key. More... | |
def | config_list (self, key) |
Enumerate available values for the given configuration key. More... | |
def | config_capabilities (self, key) |
Enumerate configuration capabilities for the given configuration key. More... | |
def | config_check (self, key, capability) |
Check whether a configuration capability is supported for a given key. More... | |
def | config_set (self, args) |
Set configuration for the given key to a specified value. More... | |
An object that can be configured.
def sigrok.core.classes.Configurable.config_keys | ( | self | ) |
Supported configuration keys.
References sigrok.core.classes.Configurable.config_check().
def sigrok.core.classes.Configurable.config_get | ( | self, | |
key | |||
) |
Read configuration for the given key.
key | ConfigKey to read. |
References sigrok.core.classes.Configurable.config_set().
def sigrok.core.classes.Configurable.config_list | ( | self, | |
key | |||
) |
Enumerate available values for the given configuration key.
key | ConfigKey to enumerate values for. |
def sigrok.core.classes.Configurable.config_capabilities | ( | self, | |
key | |||
) |
Enumerate configuration capabilities for the given configuration key.
key | ConfigKey to enumerate capabilities for. |
def sigrok.core.classes.Configurable.config_check | ( | self, | |
key, | |||
capability | |||
) |
Check whether a configuration capability is supported for a given key.
capability | Capability to check for. |
key | ConfigKey to check. |
Referenced by sigrok.core.classes.Configurable.config_keys().
def sigrok.core.classes.Configurable.config_set | ( | self, | |
args | |||
) |
Set configuration for the given key to a specified value.
value | Value to set. |
key | ConfigKey to set. |
Referenced by sigrok.core.classes.Configurable.config_get().