WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_dma_mem.c 文件参考
#include "hal_dma_mem.h"
#include "common_def.h"
#include "memory/osal_addr.h"
hal_dma_mem.c 的引用(Include)关系图:

函数

errcode_t hal_dma_mem_init (uint32_t node_size)
 Dma mem init.
 
void hal_dma_mem_deinit (void)
 Dma mem deinit.
 
void * hal_dma_mem_alloc (dma_channel_t ch, uint32_t node_size)
 Dma alloc mem node.
 
void hal_dma_mem_free (dma_channel_t ch, void *addr)
 Dma free mem node.
 

函数说明

◆ hal_dma_mem_alloc()

void * hal_dma_mem_alloc ( dma_channel_t  ch,
uint32_t  node_size 
)

Dma alloc mem node.

参数
[in]channelThe DMA channel. For details, see dma_channel_t. [in] mem node size.
返回
mem node.

◆ hal_dma_mem_deinit()

void hal_dma_mem_deinit ( void  )

Dma mem deinit.

◆ hal_dma_mem_free()

void hal_dma_mem_free ( dma_channel_t  ch,
void *  addr 
)

Dma free mem node.

参数
[in]channelThe DMA channel. For details, see dma_channel_t. [in] free mem addr.

◆ hal_dma_mem_init()

errcode_t hal_dma_mem_init ( uint32_t  node_size)

Dma mem init.

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.

Description: Provides hal dma mem alloc
History:
2023-04-20, Create file.

参数
[in]memnode size.
返回
The result of dma mem init.