From 3d46d68b2f67c3aad063fa22e6a8584b235c6148 Mon Sep 17 00:00:00 2001 From: Andelf Date: Mon, 20 May 2024 00:23:15 +0800 Subject: [PATCH] fix: v0 periperal clk --- data/family/CH32V0.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/family/CH32V0.yaml b/data/family/CH32V0.yaml index 941b5e5..54f82b2 100644 --- a/data/family/CH32V0.yaml +++ b/data/family/CH32V0.yaml @@ -373,8 +373,8 @@ version: common block: USART rcc: - bus_clock: PCLK2 - kernel_clock: PCLK2 + bus_clock: HCLK + kernel_clock: HCLK enable: register: APB2PCENR field: USART1EN @@ -504,8 +504,8 @@ version: v0 block: SPI rcc: - bus_clock: PCLK2 - kernel_clock: PCLK2 + bus_clock: HCLK + kernel_clock: HCLK enable: register: APB2PCENR field: SPI1EN