Struct SYN_DMA_RingBuf¶
Continuous circular DMA reception stream controller.
#include <syn_dma.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t * | buf |
| size_t | capacity |
| SYN_DMA * | dma |
| volatile size_t | tail |
Public Attributes Documentation¶
variable buf¶
Caller-allocated circular reception buffer
variable capacity¶
Total capacity of buffer in bytes
variable dma¶
Underlying DMA channel
variable tail¶
Application read pointer index
The documentation for this class was generated from the following file src/syntropic/drivers/syn_dma.h