pub struct Apb(/* private fields */);Expand description
APB clock controller
As described in the module-level documentation, this struct mediates
access to the shared APBXMASK registers. Users can convert a disabled
ApbToken<A> into an enabled ApbClk<A> using Apb::enable, and
vice versa with Apb::disable.
Implementations§
Auto Trait Implementations§
impl Freeze for Apb
impl RefUnwindSafe for Apb
impl Send for Apb
impl Sync for Apb
impl Unpin for Apb
impl UnwindSafe for Apb
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