pub enum VectorBaseAddressRegister {}
Available on ARM only.
Expand description
Contains the address of the VectorTable
that the processor should use.
Implementations§
Source§impl VectorBaseAddressRegister
impl VectorBaseAddressRegister
Sourcepub fn get() -> *const VectorTable
pub fn get() -> *const VectorTable
Retrieve the current value of this register for the specified exception level.
Only defined for exception levels 1–3. The register for a given exception level is only accessible from that level or higher.
Sourcepub fn set(value: *const VectorTable)
pub fn set(value: *const VectorTable)
Update the register for the specified exception level with the given value.
Address must be aligned to 11 bits (2048).
Auto Trait Implementations§
impl Freeze for VectorBaseAddressRegister
impl RefUnwindSafe for VectorBaseAddressRegister
impl Send for VectorBaseAddressRegister
impl Sync for VectorBaseAddressRegister
impl Unpin for VectorBaseAddressRegister
impl UnwindSafe for VectorBaseAddressRegister
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