Struct vm_superio::rtc_pl031::RtcState
source · 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: u32
The load register.
offset: i64
The offset applied to the counter to get the RTC value.
mr: u32
The MR register.
imsc: u32
The interrupt mask.
ris: u32
The raw interrupt value.
Trait Implementations§
source§impl PartialEq for RtcState
impl PartialEq for RtcState
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