macro_rules! rcc_en_reset {
    (apb1, $periph:expr, $rcc:expr) => { ... };
    (apb2, $periph:expr, $rcc:expr) => { ... };
    (apb4, $periph:expr, $rcc:expr) => { ... };
    (ahb1, $periph:expr, $rcc:expr) => { ... };
    (ahb2, $periph:expr, $rcc:expr) => { ... };
    (ahb3, $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.