Module ag35
Expand description
AG35 implementation.
I wasn’t able to find any documentation for how Quectel exposes the ADC values. It seems like it’s quite an uncommon use case.
The ql_adc.h header doesn’t expose the underlying channel labels.
They can be extracted from the device tree:
arch/arm/boot/dts/qcom/mdm9607.dtsi.
The CBC channel isn’t documented in the device tree and has been reverse
engineered from the library. DEVICE_PREFIX is also taken from the
library.
Constants§
Functions§
- channel_
path - Returns the full path to the ADC channel file.
- device_
dir - Returns the path to the ADC device directory.