STRUCT AT91_ADC_REG_DESC(9)
π struct at91_adc_reg_desc(9) π
okay so bestie, welcome to the Kernel API Manual π β yes, the whole struct at91_adc_reg_desc(9) page, and it is exactly what it sounds like: the little struct that carries "Various information relative to registers." that's it, that's the vibe. lowkey iconic. β¨
β¨ NAME β¨
struct at91_adc_reg_desc β various information relative to registers. that's literally the whole personality, no cap π«Ά
πΈ SYNOPSIS πΈ
struct at91_adc_reg_desc {
u8 channel_base;
u32 drdy_mask;
u8 status_register;
u8 trigger_register;
u32 mr_prescal_mask;
u32 mr_startup_mask;
};
look at her. six fields. main character energy fr fr π
π Members π
channel_baseβ the base offset for the channel data registers. like, this is where the channel data situation starts. periodt. π¦drdy_maskβ the mask of the DRDY field in the relevant registers (interruptions registers mostly, iykyk π). not me knowing exactly which registers... "mostly" is doing so much work here.status_registerβ the offset of the Interrupt Status Register. your girl knows where the status lives πtrigger_registerβ the offset of the Trigger setup register. trigger setup? located. slay.mr_prescal_maskβ the mask of the PRESCAL field in the adc MR register. mask of prescal. that's the tweet. π₯mr_startup_maskβ the mask of the STARTUP field in the adc MR register. startup mask, same MR register, same energy. β¨
ngl bestie, every one of these is either an offset or a mask β that's the whole pattern, and it ate. π
π SEE ALSO π
- Kernel file
./drivers/iio/adc/at91_adc.cπ§ struct at91_adc_trigger(9)β
and that's the page!! π this whole thing comes to you from ./drivers/iio/adc, dated October 2026, under the title struct at91_adc_reg_desc(9) β go read the source bestie, it's giving required reading. ππ
π«Ά bye bestie π«Ά
π¦ 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