Struct atsamd_hal::clock::v2::rtcosc::RtcOscToken
source · [−]pub struct RtcOscToken(_);
Expand description
Token used to retrieve the RTC oscillator
Singleton token that can be exchanged for the RtcOsc
As explained in the clock
module documentation, instances of
various Token
types can be exchanged for actual clock types. They
typically represent clocks that are disabled at power-on reset.
To use the RtcOsc
, you must first exchange this token with the
RtcOsc::enable
function.
Auto Trait Implementations
impl RefUnwindSafe for RtcOscToken
impl Send for RtcOscToken
impl Sync for RtcOscToken
impl Unpin for RtcOscToken
impl UnwindSafe for RtcOscToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more