poplar::ddk

Module dma

Source

Structs§

  • A DmaToken refers to an underlying DmaObject, DmaArray, or DmaBuffer while waiting for a DMA transaction to complete. It allows a DMA type to be ‘locked’ while hardware is accessing it (preventing accesses through the DMA type and erroring if it is dropped while the token is held), and so helps to enforce correct use of DMA memory.