STRUCT AT91_ADC_REG_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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