Enum imxrt_hal::snvs::srtc::EnabledState
source · pub enum EnabledState {
AlreadyCounting {
srtc: Srtc,
seconds: u32,
ticks: u16,
},
SetTime(Srtc),
}
Expand description
Indicates the result of the try_enable
method
Variants§
AlreadyCounting
Fields
The SRTC was already enabled, and it’s currently counting from seconds
SetTime(Srtc)
The SRTC was not previously enabled, and it’s now counting from the
seconds
and ticks
supplied to try_enable
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EnabledState
impl Send for EnabledState
impl !Sync for EnabledState
impl Unpin for EnabledState
impl !UnwindSafe for EnabledState
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