Skip to main content

Crate ql_adc

Crate ql_adc 

Expand description

Rust implementation of ql_peripheral’s ADC API.

Much like the GPIO API this is based on sysfs.

Modules§

ag35 🔒
AG35 implementation.

Structs§

Channel
Represents an ADC channel.
FormatError
The ADC channel content has an invalid format.
Reading
A reading of an ADC channel.

Enums§

ChannelName
Available ADC channels on the AG35.
ReadError
Error returned by Channel::read.

Constants§

CONTENT_LEN 🔒
Maximum length of the channel file content, QPNP_ADC_HWMON_NAME_LENGTH in the kernel.