STRUCT STM32_DFSDM_FILTER_OSR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct stm32_dfsdm_filter_osr β€” okay so this is the DFSDM filter settings struct that's linked to oversampling πŸ’– it's from the Kernel API Manual, and yes bestie we're reading kernel headers for fun now, that's the vibe πŸŽ€


🌸 SYNOPSIS 🌸

struct stm32_dfsdm_filter_osr {
    unsigned int iosr;
    unsigned int fosr;
    unsigned int rshift;
    unsigned int lshift;
    u64 res;
    u32 bits;
    s32 max;
 };

seven members, one struct, zero notes of caution β€” she's a plain lil data holder and we love that for her 🫢


πŸ’… Members

  • iosr β€” the integrator oversampling, literally the integrator's oversampling value πŸ‘‘
  • fosr β€” the filter oversampling, same energy but for the filter ✨
  • rshift β€” output sample right shift β€” and this one's the hardware shift, no cap πŸ’€
  • lshift β€” output sample left shift, and this one is the software shift β€” yes they're two different things, iykyk πŸ¦‹
  • res β€” output sample resolution 🌸
  • bits β€” output sample resolution in bits, the same resolution but counted in bits, she's giving metric-and-imperial 😭
  • max β€” output sample maximum positive value, the ceiling, the limit, the main character's upper bound πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/iio/adc/stm32-dfsdm.h β€” the actual home of this struct 🏠
  • struct stm32_dfsdm_filter(9)
  • struct stm32_dfsdm_channel(9)
  • struct stm32_dfsdm(9)

go read the whole little family, they're all in the same header and they slay together πŸ’œ


mwah πŸ’‹ that's the whole page β€” brought to you by ./drivers/iio/adc, Kernel API Manual, dated October 2026, aka struct stm3...m_filter_osr(9) if you're squinting at a narrow terminal πŸ’…βœ¨

πŸ“¦ where this page comes from