From e89000b360c9b5f0413adc7f1df355356c212bae Mon Sep 17 00:00:00 2001 From: Andelf Date: Sat, 27 Apr 2024 17:58:48 +0800 Subject: [PATCH] fix: x0 dma rcc enable --- data/family/CH32X0.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/family/CH32X0.yaml b/data/family/CH32X0.yaml index 589e974..05f6610 100644 --- a/data/family/CH32X0.yaml +++ b/data/family/CH32X0.yaml @@ -52,8 +52,8 @@ bus_clock: HCLK kernel_clock: HCLK enable: - register: AHBENR - field: DMAEN + register: AHBPCENR + field: DMA1EN interrupts: - signal: CH1 interrupt: DMA1_Channel1