std1.0.0-beta-7 SafeC docs

Module dma

#include <std/dma.h> source

DMA-Safe Memory Abstractions Provides cache-coherent buffer management for DMA transfers. Freestanding-safe; works with any allocator or static storage.

Structs

DmaBuffer
DmaChannelA DMA channel descriptor, generic over the driver context type T its callbacks take. One driver owns a channel for its whole lifetime, so the context can be pinned to one T per channel; it is '?&T' because a driver with no per-transfer state passes none.
DmaSgEntryScatter-gather entry.
DmaSgList

Macros

DMA_ALIGNtypical DMA burst-alignment (cache line)
DMA_SG_MAX