Skip to content

Commit

Permalink
fix: CH32X0 ADC clk
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Apr 6, 2024
1 parent da34954 commit 07b4389
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/family/CH32X0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,9 @@
version: x0
block: ADC
rcc:
bus_clock: HCLK
kernel_clock: ADC_CLK
# According to the reference manual, the ADC clock is derived from the SYSCLK div by CLK_DIV
bus_clock: SYSCLK
kernel_clock: SYSCLK
enable:
register: APB2PCENR
field: ADC1EN
Expand Down

0 comments on commit 07b4389

Please sign in to comment.