pub(crate) unsafe fn setup_peripherals(tim2: &Tim2<'_>)
Helper function for miscellaneous peripheral functions