Struct ctru_sys::ExHeader_Arm11CoreInfo
source · #[repr(C)]pub struct ExHeader_Arm11CoreInfo {
pub core_version: u32_,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
pub priority: u8_,
}
Expand description
The CPU-related and memory-layout-related info of a title
Fields§
§core_version: u32_
< The low title ID of the target firmware
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>
§priority: u8_
< The priority of the title’s main thread
Implementations§
source§impl ExHeader_Arm11CoreInfo
impl ExHeader_Arm11CoreInfo
pub fn use_cpu_clockrate_804MHz(&self) -> bool
pub fn set_use_cpu_clockrate_804MHz(&mut self, val: bool)
pub fn enable_l2c(&self) -> bool
pub fn set_enable_l2c(&mut self, val: bool)
pub fn flag1_unused(&self) -> u8_
pub fn set_flag1_unused(&mut self, val: u8_)
pub fn n3ds_system_mode(&self) -> SystemMode
pub fn set_n3ds_system_mode(&mut self, val: SystemMode)
pub fn flag2_unused(&self) -> u8_
pub fn set_flag2_unused(&mut self, val: u8_)
pub fn ideal_processor(&self) -> u8_
pub fn set_ideal_processor(&mut self, val: u8_)
pub fn affinity_mask(&self) -> u8_
pub fn set_affinity_mask(&mut self, val: u8_)
pub fn o3ds_system_mode(&self) -> SystemMode
pub fn set_o3ds_system_mode(&mut self, val: SystemMode)
pub fn new_bitfield_1( use_cpu_clockrate_804MHz: bool, enable_l2c: bool, flag1_unused: u8_, n3ds_system_mode: SystemMode, flag2_unused: u8_, ideal_processor: u8_, affinity_mask: u8_, o3ds_system_mode: SystemMode ) -> __BindgenBitfieldUnit<[u8; 3]>
Trait Implementations§
source§impl Clone for ExHeader_Arm11CoreInfo
impl Clone for ExHeader_Arm11CoreInfo
source§fn clone(&self) -> ExHeader_Arm11CoreInfo
fn clone(&self) -> ExHeader_Arm11CoreInfo
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more