STRUCT CPCAP_ADC_REQUEST(9)
π struct cpcap_adc_request(9) β like, the cpcap adc request struct, bestie β¨
okay so this is a page from the Kernel API Manual and it's all about struct cpcap_adc_request β the cpcap adc request. yes it's niche. yes it's iconic. let's get into it π
πΈ NAME πΈ
struct cpcap_adc_request β literally the cpcap adc request. that's the vibe. that's the whole thing. π
β¨ SYNOPSIS β¨
here's the struct in all her main-character glory, copy it exactly bestie, no cap:
struct cpcap_adc_request {
int channel;
const struct cpcap_adc_phasing_tbl *phase_tbl;
const struct cpcap_adc_conversion_tbl *conv_tbl;
int bank_index;
enum cpcap_adc_timing timing;
int result;
};
π¦ Members π¦
so each of these fields is doing her own little thing, and honestly? obsessed with the division of labor:
channelβ the request channel. that's the channel you're asking for, periodt.phase_tblβ the channel phasing table. a pointer to aconst struct cpcap_adc_phasing_tbl, doing phasing table things.conv_tblβ the channel conversion table. again a pointer, this time to aconst struct cpcap_adc_conversion_tbl. conversions, slay.bank_indexβ the channel index within the bank. it's giving "where in the bank am I" energy πtimingβ the timing settings. it's anenum cpcap_adc_timing, so like, the timing vibes are enumerated. very structured of her.resultβ the result. yes. that's it. that's the description. the result is the result, iykyk π«Ά
π SEE ALSO π
go look at these if you want the full lore, bestie:
- Kernel file
./drivers/iio/adc/cpcap-adc.c struct cpcap_adc(9)struct cpcap_adc_phasing_tbl(9)struct cpcap_adc_conversion_tbl(9)
ngl this one's short and sweet, but every single field matters, so don't go skipping the boring-looking ones π the result one is literally one word and we respect her for it π
and that's the page!! π§ββοΈπ this little beauty lives over in ./drivers/iio/adc and she's dated October 2026 β like, future icon behavior fr fr. bye bestie, go read a phasing table ππΈ
π¦ 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