pub struct RtcTimeProvider { /* private fields */ }Expand description
Provides immutable access to the current time of the RTC.
Implementations§
Source§impl RtcTimeProvider
impl RtcTimeProvider
Sourcepub fn read_raw(&self) -> RawDateTime
pub fn read_raw(&self) -> RawDateTime
Read the raw contents of the RTC calendar registers.
See RawDateTime: the values are not validated.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RtcTimeProvider
impl Freeze for RtcTimeProvider
impl Move for RtcTimeProvider
impl RefUnwindSafe for RtcTimeProvider
impl Send for RtcTimeProvider
impl Sync for RtcTimeProvider
impl Unpin for RtcTimeProvider
impl UnsafeUnpin for RtcTimeProvider
impl UnwindSafe for RtcTimeProvider
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