WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_dma_mem.h
浏览该文件的文档.
1
9#ifndef HAL_DMA_MEM_H
10#define HAL_DMA_MEM_H
11
12#include "errcode.h"
13#include "dma_porting.h"
14
15#ifdef __cplusplus
16#if __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19#endif /* __cplusplus */
20
26errcode_t hal_dma_mem_init(uint32_t node_size);
27
31void hal_dma_mem_deinit(void);
32
39void *hal_dma_mem_alloc(dma_channel_t ch, uint32_t node_size);
40
46void hal_dma_mem_free(dma_channel_t ch, void *addr);
47
48#ifdef __cplusplus
49#if __cplusplus
50}
51#endif /* __cplusplus */
52#endif /* __cplusplus */
53
54#endif
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
dma_channel_t
DMA channel ID.
Definition dma_porting.h:40
void hal_dma_mem_free(dma_channel_t ch, void *addr)
Dma free mem node.
Definition hal_dma_mem.c:78
errcode_t hal_dma_mem_init(uint32_t node_size)
Dma mem init.
Definition hal_dma_mem.c:24
void hal_dma_mem_deinit(void)
Dma mem deinit.
Definition hal_dma_mem.c:42
void * hal_dma_mem_alloc(dma_channel_t ch, uint32_t node_size)
Dma alloc mem node.
Definition hal_dma_mem.c:58
#define ch(x, y, z)
Definition sha256.c:18