Struct sodaq_sara_aff::thumbv6m::clock::RtcClock
source · pub struct RtcClock { /* private fields */ }
Expand description
A typed token that indicates that the clock for the peripheral(s)
with the matching name has been configured.
The effective clock frequency is available via the freq
method,
or by converting the object into a Hertz
instance.
The peripheral initialization code will typically require passing
in this object to prove at compile time that the clock has been
correctly initialized.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RtcClock
impl Send for RtcClock
impl Sync for RtcClock
impl Unpin for RtcClock
impl UnwindSafe for RtcClock
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