STRUCT CPCAP_ADC_CONVERSION_TBL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum 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