Macro stm32_hal2::rcc_en_reset[][src]

macro_rules! rcc_en_reset {
    (1, $periph:expr, $rcc:expr) => { ... };
    (2, $periph:expr, $rcc:expr) => { ... };
    (ahb1, $periph:expr, $rcc:expr) => { ... };
    (ahb2, $periph:expr, $rcc:expr) => { ... };
}

Enables and resets peripheral clocks that could be on either APB1 or APB2. The first argument is a 1 or 2 to specify the APB. The second is something like tim1, and the third is a pac::RCC.