STRUCT AT91_ADC_TEMP_SENSOR_CLB(9)
π NAME π
struct at91_adc_temp_sensor_clb β the at91-sama5d2 temperature sensor calibration data structure, and yes bestie, this is the Kernel API Manual, we're doing big-girl kernel things today π
β¨ SYNOPSIS β¨
struct at91_adc_temp_sensor_clb {
u32 p1;
u32 p4;
u32 p6;
};
Like, look at her. Three u32s and a dream. She's little but she's everything π«Ά
πΈ Members πΈ
p1β the P1 calibration temperature. that's it, that's the whole vibe. one (1) temperature, sitting there being au32πp4β the P4 calibration voltage. voltage bestie, not temperature, she's different fromp1, do not confuse them, iykyk β‘p6β the P6 calibration voltage. also a voltage!! and yeah the numbers jump fromp4top6, no we do not have ap5, do NOT come for her numbering, periodt π
ngl the naming is giving "we skipped a few in the group chat" but fr fr the field names are exactlyp1,p4,p6β copy them exactly, no cap π
π¦ SEE ALSO π¦
Kernel file ./drivers/iio/adc/at91-sama5d2_adc.c and this whole little family of structs/enums, all of them, in the order the page says:
struct at91_adc_platform(9)enum at91_adc_ts_clb_idx(9)struct at91_adc_soc_info(9)struct at91_adc_dma(9)struct at91_adc_touch(9)struct at91_adc_temp(9)
go read those too, they're her friends, the whole squad is iconic π
and that's the page!! π straight from ./drivers/iio/adc, dated October 2026, in the Kernel API Manual β mwah, slay, go calibrate something π₯π
π¦ 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