Macro stm32_hal2::rcc_en_reset [−][src]
macro_rules! rcc_en_reset {
(apb1, $periph : expr, $rcc : expr) => { ... };
(apb2, $periph : expr, $rcc : expr) => { ... };
(ahb1, $periph : expr, $rcc : expr) => { ... };
(ahb2, $periph : expr, $rcc : expr) => { ... };
}
Expand description
Enables and resets peripheral clocks on various RCC registesr.
The first argument is a apb1
, ahb2
etc to specify the reg block. The second is something like
tim1
, and the third is a pac::RCC
.