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.
- Format
Error - The ADC channel content has an invalid format.
- Reading
- A reading of an ADC channel.
Enums§
- Channel
Name - Available ADC channels on the AG35.
- Read
Error - Error returned by
Channel::read.
Constants§
- CONTENT_
LEN 🔒 - Maximum length of the channel file content,
QPNP_ADC_HWMON_NAME_LENGTHin the kernel.