#[repr(transparent)]pub struct Archsel(pub u32);
Expand description
Architecture select (Arm/RISC-V). The default and allowable values of this register are constrained by the critical boot flags. This register is reset by the earliest reset in the switched core power domain (before a processor cold reset). Cores sample their architecture select signal on a warm reset. The source of the warm reset could be the system power-up state machine, the watchdog timer, Arm SYSRESETREQ or from RISC-V hartresetreq. Note that when an Arm core is deselected, its cold reset domain is also held in reset, since in particular the SYSRESETREQ bit becomes inaccessible once the core is deselected. Note also the RISC-V cores do not have a cold reset domain, since their corresponding controls are located in the Debug Module.
Tuple Fields§
§0: u32
Implementations§
source§impl Archsel
impl Archsel
sourcepub const fn core0(&self) -> ArchselCore0
pub const fn core0(&self) -> ArchselCore0
Select architecture for core 0.
sourcepub fn set_core0(&mut self, val: ArchselCore0)
pub fn set_core0(&mut self, val: ArchselCore0)
Select architecture for core 0.
sourcepub const fn core1(&self) -> ArchselCore1
pub const fn core1(&self) -> ArchselCore1
Select architecture for core 1.
sourcepub fn set_core1(&mut self, val: ArchselCore1)
pub fn set_core1(&mut self, val: ArchselCore1)
Select architecture for core 1.
Trait Implementations§
impl Copy for Archsel
impl Eq for Archsel
impl StructuralPartialEq for Archsel
Auto Trait Implementations§
impl Freeze for Archsel
impl RefUnwindSafe for Archsel
impl Send for Archsel
impl Sync for Archsel
impl Unpin for Archsel
impl UnwindSafe for Archsel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)