Skip to content

Commit 47a9c3f

Browse files
committed
adc: add group kernel clock for ADC (in d3ccip)
1 parent 746e802 commit 47a9c3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rcc/rec.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ peripheral_reset_and_enable_control! {
266266
AHB1, "AMBA High-performance Bus (AHB1) peripherals" => [
267267
Eth1Mac, Dma2, Dma1,
268268
#[cfg(any(feature = "dualcore"))] Art,
269-
Adc12
269+
Adc12 [group clk: Adc(Variant) d3ccip "ADC"]
270270
];
271271

272272
AHB2, "AMBA High-performance Bus (AHB2) peripherals" => [
@@ -283,7 +283,8 @@ peripheral_reset_and_enable_control! {
283283
];
284284

285285
AHB4, "AMBA High-performance Bus (AHB4) peripherals" => [
286-
Hsem, Bdma, Crc, Adc3,
286+
Hsem, Bdma, Crc,
287+
Adc3 [group clk: Adc],
287288
Gpioa, Gpiob, Gpioc, Gpiod, Gpioe, Gpiof, Gpiog, Gpioh, Gpioi, Gpioj, Gpiok
288289
];
289290

0 commit comments

Comments
 (0)