STRUCT STM32_DMA_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a 32bit mask specifying the DMA channel configuration. it's a mask, it's 32 bits, it configures the channel β€” iconic behaviour honestly πŸ‘‘
  • features β€” a 32bit mask 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:

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