Go to the documentation of this file.
52 #ifndef _APP_DMA_PUB_H_
53 #define _APP_DMA_PUB_H_
62 #ifdef HAL_DMA_MODULE_ENABLED
84 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
186 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
199 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5526X) || (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5525X)
211 uint16_t app_dma_start_sg_llp(
dma_id_t id, uint32_t src_address, uint32_t dst_address, uint32_t data_length, dma_sg_llp_config_t *sg_llp_config);
dma_handle_t * app_dma_get_handle(dma_id_t id)
Return the DMA handle.
DMA device structure definition.
app_dma_state_t dma_state
App dma state types.
DMA Configuration Structure definition.
DMA parameters structure definition.
void(* app_dma_evt_handler_t)(app_dma_evt_type_t type)
DMA event callback definition.
@ APP_DMA_EVT_TFR
The event of transfer complete interrupt.
dma_channel_t channel_number
Specifies the channel of DMA.
dma_init_t init
DMA communication parameters.
uint16_t app_dma_deinit(dma_id_t ins_id)
De-initialize the APP ADC DRIVER peripheral.
This file contains all the functions prototypes for the HAL module driver.
uint16_t app_dma_start(dma_id_t id, uint32_t src_address, uint32_t dst_address, uint32_t data_length)
Start the DMA Transfer.
@ APP_DMA_EVT_BLK
The event of block transfer complete interrupt.
app_dma_state_t
App dma state types.
app_dma_evt_type_t
DMA event Enumerations definition.
app_dma_evt_handler_t evt_handler
DMA event callback definition.
dma_regs_t * p_instance
DMA inistall.
@ APP_DMA_EVT_ERROR
The event of error interrupt.
dma_id_t app_dma_init(app_dma_params_t *p_params, app_dma_evt_handler_t evt_handler)
Initialize the APP DMA DRIVER according to the specified parameters in the app_dma_params_t and app_d...
dma_handle_t handle
DMA handle definition.
Header file of app driver error code.
Header file of app driver config code.
DMA handle Structure definition.
int16_t dma_id_t
DMA id definition.
dma_channel_t
HAL DMA Channel Enumerations definition.