Struct atsamd_hal::clock::v2::xosc32k::Xosc32kCfdToken
source · [−]pub struct Xosc32kCfdToken(_);
Expand description
Singleton token that can be exchanged for Xosc32kCfd
As explained in the module-level documentation, clock failure
detection can be used even after the XOSC32K
register has been write
locked. For that reason, users control clock failure detection through the
dedicated Xosc32kCfd
type.
Clock failure detection is disabled at power-on reset. To use it, you must
first enable it by exchanging the token with Xosc32kCfd::enable
.
Auto Trait Implementations
impl RefUnwindSafe for Xosc32kCfdToken
impl Send for Xosc32kCfdToken
impl Sync for Xosc32kCfdToken
impl Unpin for Xosc32kCfdToken
impl UnwindSafe for Xosc32kCfdToken
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