STRUCT AT91_ADC_TEMP_SENSOR_CLB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 a u32 πŸ’–
  • p4 β€” the P4 calibration voltage. voltage bestie, not temperature, she's different from p1, do not confuse them, iykyk ⚑
  • p6 β€” the P6 calibration voltage. also a voltage!! and yeah the numbers jump from p4 to p6, no we do not have a p5, 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 exactly p1, 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