STRUCT CPCAP_ADC_CONVERSION_TBL(9)
π NAME π
okay so bestie, gather round β this is struct cpcap_adc_conversion_tbl, aka the cpcap conversion table, and yes it lives in the Kernel API Manual (that's the manual name btw, just folding that in here so you know what you're reading π«Ά). it's giving "small struct, big job" energy, no cap.
β¨ SYNOPSIS β¨
here's the whole thing, character for character, don't @ me:
struct cpcap_adc_conversion_tbl {
enum iio_chan_info_enum conv_type;
int align_offset;
int conv_offset;
int cal_offset;
int multiplier;
int divider;
};
literally six fields. that's her. she's iconic π₯
πΈ Members πΈ
okay so let's meet the cast, one by one, main character energy for each:
conv_typeβ the conversion type π« (it's anenum iio_chan_info_enum, iykyk)align_offsetβ the align offset β¨ (just vibing in there, keeping things lined up)conv_offsetβ the conversion offset πcal_offsetβ the calibration offset π¦ (the calibrated one, fancy)multiplierβ the conversion multiplier π (she multiplies)dividerβ the conversion divider π (and she divides. balanced queen)
ngl bestie, the original is extremely chill on details here β each member gets its name and that's literally it. so that's all I'm giving you too. no invented lore, periodt π
π SEE ALSO π
go read these next, fr fr β they're all in the kernel file ./drivers/iio/adc/cpcap-adc.c:
struct cpcap_adc(9)struct cpcap_adc_phasing_tbl(9)struct cpcap_adc_request(9)
also peep the directory ./drivers/iio/adc if you wanna snoop around π
and that's the whole page bestie!! π§ source/version vibes: ./drivers/iio/adc, dated October 2026, and the page itself is struct cpca...nversion_tbl(9) (yes the title is truncated with ..., that's just how she's printed, slay). now go forth and convert some ADC values ππβ
π¦ 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