STRUCT ADC5_CHANNEL_PROP(9)
β¨ NAME β¨
Okay so we're in the Kernel API Manual, and this page is all about struct adc5_channel_prop(9) β literally the ADC channel property struct. That's the whole vibe: one struct, all its little fields, no cap.
π¦ SYNOPSIS π¦
Here's the struct in all its main-character glory, copied exactly:
struct adc5_channel_prop {
unsigned int channel;
enum adc5_cal_method cal_method;
enum adc5_cal_val cal_val;
unsigned int decimation;
unsigned int sid;
unsigned int prescale;
unsigned int hw_settle_time;
unsigned int avg_samples;
enum vadc_scale_fn_type scale_fn_type;
const char *channel_name;
};
πΈ Members πΈ
Bestie, let's go field by field. Every single one is iconic in its own way:
channelβ channel number, refer to the channel list.cal_methodβ calibration method.cal_valβ calibration value.decimationβ sampling rate supported for the channel.sidβ slave id of PMIC owning the channel, for PMIC7.prescaleβ channel scaling performed on the input signal.hw_settle_timeβ the time between AMUX being configured and the start of conversion.avg_samplesβ ability to provide single result from the ADC that is an average of multiple measurements.scale_fn_typeβ Represents the scaling function to convert voltage physical units desired by the client for the channel.channel_nameβ Channel name used in device tree.
π SEE ALSO π
If you wanna keep exploring, the manual points you here:
- Kernel file
./drivers/iio/adc/qcom-spmi-adc5.c struct adc5_chip(9)./drivers/iio/adc
And that's the whole page, bestie π«Ά β source/version is ./drivers/iio/adc, dated October 2026, and this struct adc5_channel_prop(9) moment is officially a wrap πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms