stm32f1_hal/mcu.rs
1use super::*;
2
3impl<RB, const A: usize> Steal for stm32f1::Periph<RB, A> {
4 unsafe fn steal(&self) -> Self {
5 unsafe { Self::steal() }
6 }
7}
8
9pub struct Mcu {
10 // pub apb1: APB1,
11 // pub apb2: APB2,
12 // pub flash: pac::flash::Parts,
13 pub exti: pac::EXTI,
14 pub scb: nvic_scb::Scb,
15 pub nvic: nvic_scb::Nvic,
16 pub rcc: rcc::Rcc,
17 pub afio: afio::Afio,
18}