RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <dma.h>
成员变量 | |
struct rt_dma_chan *(* | request_chan )(struct rt_dma_controller *ctrl, struct rt_device *slave, void *fw_data) |
rt_err_t(* | release_chan )(struct rt_dma_chan *chan) |
rt_err_t(* | start )(struct rt_dma_chan *chan) |
rt_err_t(* | stop )(struct rt_dma_chan *chan) |
rt_err_t(* | config )(struct rt_dma_chan *chan, struct rt_dma_slave_config *conf) |
rt_err_t(* | prep_memcpy )(struct rt_dma_chan *chan, rt_ubase_t dma_addr_src, rt_ubase_t dma_addr_dst, rt_size_t len) |
rt_err_t(* | prep_cyclic )(struct rt_dma_chan *chan, rt_ubase_t dma_buf_addr, rt_size_t buf_len, rt_size_t period_len, enum rt_dma_transfer_direction dir) |
rt_err_t(* | prep_single )(struct rt_dma_chan *chan, rt_ubase_t dma_buf_addr, rt_size_t buf_len, enum rt_dma_transfer_direction dir) |
struct rt_dma_chan *(* rt_dma_controller_ops::request_chan) (struct rt_dma_controller *ctrl, struct rt_device *slave, void *fw_data) |
rt_err_t(* rt_dma_controller_ops::release_chan) (struct rt_dma_chan *chan) |
rt_err_t(* rt_dma_controller_ops::start) (struct rt_dma_chan *chan) |
rt_err_t(* rt_dma_controller_ops::stop) (struct rt_dma_chan *chan) |
rt_err_t(* rt_dma_controller_ops::config) (struct rt_dma_chan *chan, struct rt_dma_slave_config *conf) |
rt_err_t(* rt_dma_controller_ops::prep_memcpy) (struct rt_dma_chan *chan, rt_ubase_t dma_addr_src, rt_ubase_t dma_addr_dst, rt_size_t len) |
rt_err_t(* rt_dma_controller_ops::prep_cyclic) (struct rt_dma_chan *chan, rt_ubase_t dma_buf_addr, rt_size_t buf_len, rt_size_t period_len, enum rt_dma_transfer_direction dir) |
rt_err_t(* rt_dma_controller_ops::prep_single) (struct rt_dma_chan *chan, rt_ubase_t dma_buf_addr, rt_size_t buf_len, enum rt_dma_transfer_direction dir) |