lager.pcb.net

Module Contents

Functions

get_state()

mapper_factory(net, device_type)

channel_name_to_number(name)

setup_vbus(net, device)

teardown_vbus(net, device)

main()

lager.pcb.net.get_state()
lager.pcb.net.mapper_factory(net, device_type)
class lager.pcb.net.PassThroughMapper(net, device)
__getattr__(attr)
exception lager.pcb.net.InvalidNetError

Bases: Exception

Common base class for all non-exit exceptions.

__str__()

Return str(self).

__repr__()

Return repr(self).

exception lager.pcb.net.SetupFunctionRequiredError

Bases: Exception

Common base class for all non-exit exceptions.

__str__()

Return str(self).

__repr__()

Return repr(self).

lager.pcb.net.channel_name_to_number(name)
class lager.pcb.net.Net(name, type, *, setup_function=None, teardown_function=None)
property needs_mux
classmethod get_all()
classmethod get(name, type, *, setup_function=None, teardown_function=None)
__str__()

Return str(self).

enable()
disable(teardown=True)
__getattr__(attr)
lager.pcb.net.setup_vbus(net, device)
lager.pcb.net.teardown_vbus(net, device)
lager.pcb.net.main()