Struct svd_rs::cpu::CpuBuilder
source · [−]pub struct CpuBuilder { /* private fields */ }
Expand description
Builder for Cpu
Implementations
sourceimpl 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
sourceimpl Clone for CpuBuilder
impl Clone for CpuBuilder
sourcefn clone(&self) -> CpuBuilder
fn clone(&self) -> CpuBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CpuBuilder
impl Debug for CpuBuilder
sourceimpl Default for CpuBuilder
impl Default for CpuBuilder
sourcefn default() -> CpuBuilder
fn default() -> CpuBuilder
Returns the “default value” for a type. Read more
sourceimpl From<Cpu> for CpuBuilder
impl From<Cpu> for CpuBuilder
sourceimpl PartialEq<CpuBuilder> for CpuBuilder
impl PartialEq<CpuBuilder> for CpuBuilder
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CpuBuilder) -> bool
fn ne(&self, other: &CpuBuilder) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more