STRUCT STM32_DFSDM_FILTER_OSR(9)
β¨ 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
- 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