Pwmx.Backend.Sysfs.Ops (Pwmx v0.1.0)

Copy Markdown View Source

Module performing the reads/writes on the sysfs paths. Separated from Pwmx.Backend.Sysfs so you can use it directly if you wish, without going through the stateful ceremony.

Summary

Functions

already_exported?(chip, output)

disable(chip, output)

enable(chip, output)

enabled?(chip, output)

enumerate_outputs(chip)

export(chip, output)

get_duty_cycle(chip, output)

get_period(chip, output)

list_chips()

set_duty_cycle_absolute(chip, output, value, unit)

set_period(chip, output, value, unit)

set_polarity(chip, output, direction)

unexport(chip, output)