Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_platform_dma.h File Reference
#include "bflb_core.h"
Include dependency graph for bflb_platform_dma.h:

Go to the source code of this file.

Data Structures

struct  bflb_platform_dma_desc
 
struct  bflb_platform_dma_env_tag
 Structure describing the DMA driver environment. More...
 

Macros

#define PLFM_DMA_CHANNEL_MAX   5
 

Functions

void bflb_platform_dma_init (struct bflb_device_s *dev)
 Initialize the bridge DMA registers. More...
 
void bflb_platform_dma_push (struct bflb_device_s *dev, struct bflb_platform_dma_desc *first, struct bflb_platform_dma_desc *last)
 Chains a chained list of descriptors in the DMA. More...
 
void bflb_platform_dma_buserr_isr (struct bflb_device_s *dev)
 Interrupt service routine when a bus error is detected while in a DMA transfer. This error is considered as fatal and triggers a non-recoverable assertion. More...
 
void bflb_platform_dma_wait_eot (struct bflb_device_s *dev)
 Active wait until DMA channel become inactive. More...
 
void bflb_platform_dma_clear_eot (struct bflb_device_s *dev)
 Active wait until DMA channel become inactive. More...