BSB Developer Docs
Loading...
Searching...
No Matches
f21/furi_hal/furi_hal_dma.h
1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
8void furi_hal_dma_init_early(void);
9
11void furi_hal_dma_deinit_early(void);
12
14bool furi_hal_dma_allocate_gpdma_channel(uint32_t* gpdma_channel);
15
17bool furi_hal_dma_allocate_gpdma_2d_channel(uint32_t* gpdma_channel);
18
20bool furi_hal_dma_allocate_lpdma_channel(uint32_t* lpdma_channel);
21
23void furi_hal_dma_free_gpdma_channel(uint32_t gpdma_channel);
24
26void furi_hal_dma_free_lpdma_channel(uint32_t lpdma_channel);
27
29uint32_t furi_hal_dma_get_gpdma_interrupt_id(uint32_t gpdma_channel);
30
32uint32_t furi_hal_dma_get_lpdma_interrupt_id(uint32_t lpdma_channel);
33
34#ifdef __cplusplus
35}
36#endif