pca9641 v0.2.1 PCA9641.Device

A process to represent a single PCA9641 device.

Link to this section Summary

Functions

Acquire a lock on the downstream bus.

Release the lock on the downstream bus.

Link to this section Types

Link to this type

device_name()

device_name() :: term()

Link to this section Functions

Link to this function

acquire_bus(pid)

acquire_bus(device_name() | pid()) :: :ok | {:error, term()}

Acquire a lock on the downstream bus.

Link to this function

release_bus(pid)

release_bus(device_name() | pid()) :: :ok | {:error, term()}

Release the lock on the downstream bus.