removed constrain method
This commit is contained in:
parent
91cddd50f6
commit
29cc661dca
@ -170,16 +170,6 @@ impl sealed::Instance for crate::peripherals::IPCC {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// extension trait that constrains the [`Ipcc`] peripheral
|
|
||||||
pub trait IpccExt<'d> {
|
|
||||||
fn constrain(self) -> Ipcc<'d>;
|
|
||||||
}
|
|
||||||
impl<'d> IpccExt<'d> for IPCC {
|
|
||||||
fn constrain(self) -> Ipcc<'d> {
|
|
||||||
Ipcc { _peri: self.into_ref() }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
unsafe fn _configure_pwr() {
|
unsafe fn _configure_pwr() {
|
||||||
let rcc = crate::pac::RCC;
|
let rcc = crate::pac::RCC;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user