Struct svd_rs::cpu::CpuBuilder
source · pub struct CpuBuilder { /* private fields */ }
Expand description
Builder for Cpu
Implementations§
source§impl CpuBuilder
impl CpuBuilder
sourcepub fn mpu_present(self, value: bool) -> Self
pub fn mpu_present(self, value: bool) -> Self
Set the mpu_present of the cpu.
sourcepub fn fpu_present(self, value: bool) -> Self
pub fn fpu_present(self, value: bool) -> Self
Set the fpu_present of the cpu.
sourcepub fn fpu_double_precision(self, value: Option<bool>) -> Self
pub fn fpu_double_precision(self, value: Option<bool>) -> Self
Set the fpu_double_precision of the cpu.
sourcepub fn dsp_present(self, value: Option<bool>) -> Self
pub fn dsp_present(self, value: Option<bool>) -> Self
Set the dsp_present of the cpu.
sourcepub fn icache_present(self, value: Option<bool>) -> Self
pub fn icache_present(self, value: Option<bool>) -> Self
Set the icache_present of the cpu.
sourcepub fn dcache_present(self, value: Option<bool>) -> Self
pub fn dcache_present(self, value: Option<bool>) -> Self
Set the dcache_present of the cpu.
sourcepub fn itcm_present(self, value: Option<bool>) -> Self
pub fn itcm_present(self, value: Option<bool>) -> Self
Set the itcm_present of the cpu.
sourcepub fn dtcm_present(self, value: Option<bool>) -> Self
pub fn dtcm_present(self, value: Option<bool>) -> Self
Set the dtcm_present of the cpu.
sourcepub fn vtor_present(self, value: Option<bool>) -> Self
pub fn vtor_present(self, value: Option<bool>) -> Self
Set the vtor_present of the cpu.
sourcepub fn nvic_priority_bits(self, value: u32) -> Self
pub fn nvic_priority_bits(self, value: u32) -> Self
Set the nvic_priority_bits of the cpu.
sourcepub fn has_vendor_systick(self, value: bool) -> Self
pub fn has_vendor_systick(self, value: bool) -> Self
Set the has_vendor_systick of the cpu.
sourcepub fn device_num_interrupts(self, value: Option<u32>) -> Self
pub fn device_num_interrupts(self, value: Option<u32>) -> Self
Set the device_num_interrupts of the cpu.
sourcepub fn sau_num_regions(self, value: Option<u32>) -> Self
pub fn sau_num_regions(self, value: Option<u32>) -> Self
Set the sau_num_regions of the cpu.
Trait Implementations§
source§impl Clone for CpuBuilder
impl Clone for CpuBuilder
source§fn clone(&self) -> CpuBuilder
fn clone(&self) -> CpuBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CpuBuilder
impl Debug for CpuBuilder
source§impl Default for CpuBuilder
impl Default for CpuBuilder
source§fn default() -> CpuBuilder
fn default() -> CpuBuilder
Returns the “default value” for a type. Read more
source§impl From<Cpu> for CpuBuilder
impl From<Cpu> for CpuBuilder
source§impl PartialEq for CpuBuilder
impl PartialEq for CpuBuilder
source§fn eq(&self, other: &CpuBuilder) -> bool
fn eq(&self, other: &CpuBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CpuBuilder
impl StructuralEq for CpuBuilder
impl StructuralPartialEq for CpuBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CpuBuilder
impl Send for CpuBuilder
impl Sync for CpuBuilder
impl Unpin for CpuBuilder
impl UnwindSafe for CpuBuilder
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