STRUCT STM32_DMA_CFG(9)
β¨ struct stm32_dma_cfg(9) β¨
okay so welcome to the Kernel API Manual bestie π this one's all about struct stm32_dma_cfg β aka the STM32 DMA custom configuration situation. it's a struct, it's got four fields, and it's honestly giving main character energy for your DMA setup π
πΈ NAME πΈ
struct stm32_dma_cfg β the STM32 DMA custom configuration struct. that's it, that's the vibe π¦
β SYNOPSIS β
here's the whole thing, copied exactly, no cap:
struct stm32_dma_cfg {
u32 channel_id;
u32 request_line;
u32 stream_config;
u32 features;
};
likeβ¦ four u32s and a dream π it's so clean, i'm obsessed π
π«Ά Members π«Ά
okay let's meet the cast, one by one:
channel_idβ the channel ID. literally just which channel we're talking about, that's her whole job πrequest_lineβ the DMA request. yep, that's the request line, periodt β¨stream_configβ a32bitmask specifying the DMA channel configuration. it's a mask, it's 32 bits, it configures the channel β iconic behaviour honestly πfeaturesβ a32bitmask specifying the DMA Feature list. also 32 bits, also a mask, but this one's for the feature list π
π¦ SEE ALSO π¦
if you wanna keep reading (and you should, iykyk), go check out:
- Kernel file
./drivers/dma/stm32/stm32-dma.cstruct stm32_dma_mdma_config(9)stm32_dma_is_current_sg(9)
fr fr go read them, they're linked for a reason π
ngl this page is short but she ate π no warnings, no bugs, no deprecated anything β just a little struct minding her own business πΈ
and that's the whole thing bestie!! π this beauty lives over in ./drivers/dma/stm32, dated October 2026, and it's struct stm32_dma_cfg(9) in the Kernel API Manual β go forth and configure your DMA, you've got this π«Άβ¨π
π¦ 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