pub fn dma_buffer(len: usize) -> Vec<u8, InternalMemory>Expand description
A zeroed byte buffer in internal DRAM, suitable as a DMA buffer.
Convenience for the common “I need a DMA-capable scratch buffer” case so the
allocator does not have to be spelled out. The result is DMA-reachable on
both chips; pair it with assert_dma_capable if a buffer’s origin is ever
in doubt.