pub struct RtcState {
pub lr: u32,
pub offset: i64,
pub mr: u32,
pub imsc: u32,
pub ris: u32,
}Expand description
The state of the Rtc device.
Fields§
§lr: u32The load register.
offset: i64The offset applied to the counter to get the RTC value.
mr: u32The MR register.
imsc: u32The interrupt mask.
ris: u32The raw interrupt value.
Trait Implementations§
impl Copy for RtcState
impl Eq for RtcState
impl StructuralPartialEq for RtcState
Auto Trait Implementations§
impl Freeze for RtcState
impl RefUnwindSafe for RtcState
impl Send for RtcState
impl Sync for RtcState
impl Unpin for RtcState
impl UnwindSafe for RtcState
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