#[repr(C)]pub struct RegisterBlock {
pub msip: [MSIP; 2],
pub mtimecmp: [MTIMECMP; 2],
pub mtime: MTIME,
/* private fields */
}Expand description
Register block
Fields§
§msip: [MSIP; 2]0x00 - Hart software interrupt register
mtimecmp: [MTIMECMP; 2]0x4000 - Hart time comparator register
mtime: MTIME0xbff8 - Timer register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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