WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
DMA V151 Regs Operation

函数

bool hal_dma_regs_data_get_int_tc_st (dma_channel_t channel, dma_v151_regs_t *dma_regs)
 Get the status of transfer complete interrupt.
 
bool hal_dma_regs_data_get_int_err_st (dma_channel_t channel, dma_v151_regs_t *dma_regs)
 Get the status of transfer error interrupt.
 
void hal_dma_interrupt_clear_tc (dma_channel_t channel, dma_v151_regs_t *dma_regs)
 Clear the status of transfer complete interrupt.
 
void hal_dma_interrupt_clear_err (dma_channel_t channel, dma_v151_regs_t *dma_regs)
 Clear the status of transfer error interrupt.
 
bool hal_dma_regs_data_get_ch_en (dma_channel_t channel, dma_v151_regs_t *dma_regs)
 Get the status of channel enable.
 

变量

uintptr_t g_dma_regs
 

详细描述

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

Description: Provides V151 dma register operation api
History:
2023-2-25, Create file.

函数说明

◆ hal_dma_interrupt_clear_err()

void hal_dma_interrupt_clear_err ( dma_channel_t  channel,
dma_v151_regs_t dma_regs 
)

Clear the status of transfer error interrupt.

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

◆ hal_dma_interrupt_clear_tc()

void hal_dma_interrupt_clear_tc ( dma_channel_t  channel,
dma_v151_regs_t dma_regs 
)

Clear the status of transfer complete interrupt.

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

◆ hal_dma_regs_data_get_ch_en()

bool hal_dma_regs_data_get_ch_en ( dma_channel_t  channel,
dma_v151_regs_t dma_regs 
)

Get the status of channel enable.

参数
[in]channelThe DMA channel.
返回
The status of channel enable.

◆ hal_dma_regs_data_get_int_err_st()

bool hal_dma_regs_data_get_int_err_st ( dma_channel_t  channel,
dma_v151_regs_t dma_regs 
)

Get the status of transfer error interrupt.

参数
[in]channelThe DMA channel.
返回
The status of transfer error interrupt.

◆ hal_dma_regs_data_get_int_tc_st()

bool hal_dma_regs_data_get_int_tc_st ( dma_channel_t  channel,
dma_v151_regs_t dma_regs 
)

Get the status of transfer complete interrupt.

参数
[in]channelThe DMA channel.
返回
The status of transfer complete interrupt.

变量说明

◆ g_dma_regs

uintptr_t g_dma_regs
extern

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

Description: Provides hal dma
History:
2022-10-16, Create file.