mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
Add DMA support for DAC output with configurable double-buffering via ioctl interface: - ANIOC_DAC_DMABUFF_INIT: Copy full buffer into DMA buffer (memcpy) - ANIOC_DAC_DMA_START: Start DMA with optional half-transfer interrupts - ANIOC_DAC_DMA_STOP: Stop DMA and timer - ANIOC_DAC_DMA_GET_EVENT: Wait for half-transfer complete event - ANIOC_DAC_DMA_WRITE_HBUF: Write half-buffer into DMA buffer - ANIOC_DAC_INFO: Query DAC capabilities (resolution, DMA, buffer size) Stream mode: when halfint=1, both HTIF and TCIF generate events via a ring buffer and semaphore. User writes the completed half while DMA fills the other half. TCIF indicates h=1, HTIF h=0. DMA priority is configurable per-channel via Kconfig choice (Low/Medium/High/VeryHigh), defaulting to Medium. Signed-off-by: Andrey Sobol <andrey.sobol.nn@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||