1 /* 2 * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /******************************************************************************* 8 * NOTICE 9 * The HAL is not public api, don't use in application code. 10 * See readme.md in soc/README.md 11 ******************************************************************************/ 12 13 #pragma once 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 #include "soc/gdma_struct.h" 20 21 typedef struct { 22 gdma_dev_t *dev; 23 } gdma_hal_context_t; 24 25 void gdma_hal_init(gdma_hal_context_t *hal, int group_id); 26 27 #ifdef __cplusplus 28 } 29 #endif 30