pub struct PWR { /* private fields */ }
Expand description
Power control
Implementations§
Trait Implementations§
Source§impl Enable for PWR
impl Enable for PWR
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Enables peripheral Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Disables peripheral Read more
impl Send for PWR
Auto Trait Implementations§
impl Freeze for PWR
impl RefUnwindSafe for PWR
impl !Sync for PWR
impl Unpin for PWR
impl UnwindSafe for PWR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> BusTimerClock for T
impl<T> BusTimerClock for T
Source§fn timer_clock(clocks: &Clocks) -> Hertz
fn timer_clock(clocks: &Clocks) -> Hertz
Calculates base frequency of timer depending on
Clock
state