XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:SOC:DMA 更多...
#define | XWDS_DMA_CH(x) ((xwid_t)(x)) |
XWDS DMA 通道 | |
xwer_t | xwds_dma_req (struct xwds_soc *soc, xwid_t ch) |
XWDS API:申请DMA的通道 | |
xwer_t | xwds_dma_rls (struct xwds_soc *soc, xwid_t ch) |
XWDS API:释放DMA的通道 | |
xwer_t | xwds_dma_cfg (struct xwds_soc *soc, xwid_t ch, void *cfg, xwds_dma_f cb, xwds_dma_cbarg_t arg) |
XWDS API:配置DMA的通道 | |
xwer_t | xwds_dma_enable (struct xwds_soc *soc, xwid_t ch) |
XWDS API:打开DMA的通道 | |
xwer_t | xwds_dma_disable (struct xwds_soc *soc, xwid_t ch) |
XWDS API:关闭DMA的通道 | |
xwer_t | xwds_dma_start (struct xwds_soc *soc, xwid_t ch) |
XWDS API:启动DMA的通道 | |
xwer_t | xwds_dma_stop (struct xwds_soc *soc, xwid_t ch) |
XWDS API:停止DMA的通道 | |
玄武设备栈:SOC:DMA
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
在文件 dma.h 中定义.