#[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.