RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_dma_map_ops结构体 参考

#include <dma.h>

成员变量

void *(* alloc )(struct rt_device *dev, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags)
 
void(* free )(struct rt_device *dev, rt_size_t size, void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags)
 
rt_err_t(* sync_out_data )(struct rt_device *dev, void *data, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags)
 
rt_err_t(* sync_in_data )(struct rt_device *dev, void *out_data, rt_size_t size, rt_ubase_t dma_handle, rt_ubase_t flags)
 

详细描述

在文件 dma.h146 行定义.

结构体成员变量说明

◆ alloc

void *(* rt_dma_map_ops::alloc) (struct rt_device *dev, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags)

在文件 dma.h148 行定义.

◆ free

void(* rt_dma_map_ops::free) (struct rt_device *dev, rt_size_t size, void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags)

在文件 dma.h150 行定义.

◆ sync_out_data

rt_err_t(* rt_dma_map_ops::sync_out_data) (struct rt_device *dev, void *data, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags)

在文件 dma.h152 行定义.

◆ sync_in_data

rt_err_t(* rt_dma_map_ops::sync_in_data) (struct rt_device *dev, void *out_data, rt_size_t size, rt_ubase_t dma_handle, rt_ubase_t flags)

在文件 dma.h154 行定义.