Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
![]() |
Data Structures | |
struct | bflb_platform_dma_desc |
struct | bflb_platform_dma_env_tag |
Structure describing the DMA driver environment. More... | |
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... | |
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.
[in] | dev | device handle |
void bflb_platform_dma_clear_eot | ( | struct bflb_device_s * | dev | ) |
Active wait until DMA channel become inactive.
[in] | dev | device handle |
void bflb_platform_dma_init | ( | struct bflb_device_s * | dev | ) |
Initialize the bridge DMA registers.
[in] | dev | device handle |
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.
[in] | dev | device handle |
[in] | first | First DMA descriptor of the list (filled by the caller) |
[in] | last | last DMA descriptor of the list (filled by the caller) |
void bflb_platform_dma_wait_eot | ( | struct bflb_device_s * | dev | ) |
Active wait until DMA channel become inactive.
[in] | dev | device handle |