struct Reg;
Implementations§
source§impl Reg
impl Reg
const ID: usize = 32usize
const VERSION: usize = 48usize
const TPR: usize = 128usize
const PPR: usize = 160usize
const EOI: usize = 176usize
const LOGICAL_DESTINATION: usize = 208usize
const DESTINATION_FORMAT: usize = 224usize
const SPURIOUS_INT: usize = 240usize
const ISR: usize = 256usize
const TMR: usize = 384usize
const IRR: usize = 512usize
const LOCAL_CMCI: usize = 752usize
const INTERRUPT_COMMAND_LO: usize = 768usize
const INTERRUPT_COMMAND_HI: usize = 784usize
const LOCAL_TIMER: usize = 800usize
const LOCAL_THERMAL: usize = 816usize
const LOCAL_PERF: usize = 832usize
const LOCAL_INT_0: usize = 848usize
const LOCAL_INT_1: usize = 864usize
const LOCAL_ERROR: usize = 880usize
const TIMER_INITIAL_COUNT: usize = 896usize
const TIMER_CURRENT_COUNT: usize = 912usize
const TIMER_DIVIDE_CONTROL: usize = 992usize
Auto Trait Implementations§
impl Freeze for Reg
impl RefUnwindSafe for Reg
impl Send for Reg
impl Sync for Reg
impl Unpin for Reg
impl UnwindSafe for Reg
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.