From e54c70b2c45ca652ddd2808a95a057cb797eab58 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期六, 05 七月 2025 14:16:11 +0800 Subject: [PATCH] square天线NVM初始化问题解决调到和官方效果一致,初步移植完STS并能稳定一对一测距板本 --- keil/include/drivers/mk_dma.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/keil/include/drivers/mk_dma.h b/keil/include/drivers/mk_dma.h index 7133924..2694f45 100644 --- a/keil/include/drivers/mk_dma.h +++ b/keil/include/drivers/mk_dma.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and + * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and * its subsidiaries and affiliates (collectly called MKSEMI). * * All rights reserved. @@ -181,6 +181,15 @@ drv_callback_t abort_callback[DMA_CH_NUM]; /*!< DMA abort callback function provided by the user */ }; +struct DMA_LINK_DESC_T +{ + uint32_t src_addr; /*!< DMA source address */ + uint32_t dst_addr; /*!< DMA destination address */ + struct DMA_LINK_DESC_T *nxt; /*!< Pointer to next DMA link list descriptor */ + uint32_t ctrl; /*!< Control Filed */ + uint32_t size; /*!< DMA transfer size */ +}; + #ifdef __cplusplus extern "C" { #endif -- Gitblit v1.9.3