[][src]Struct svd_expander::CpuSpec

pub struct CpuSpec {
    pub name: String,
    pub revision: String,
    pub endian: EndianSpec,
    pub mpu_present: bool,
    pub fpu_present: bool,
    pub nvic_priority_bits: u32,
    pub has_vendor_systick: bool,
}

Describes the processor included in the microcontroller device.

Fields

name: String

The unique name of the device's CPU.

revision: String

The hardware revision of the processor. The format is rNpM (N,M = [0 - 99]).

endian: EndianSpec

The endianness of the processor.

mpu_present: bool

Whether the processor is equipped with a memory protection unit.

fpu_present: bool

Whether the processor is equipped with a hardware floating point unit.

nvic_priority_bits: u32

The number of bits available in the Nested Vector Interrupt Controller (NVIC) for configuring priority.

has_vendor_systick: bool

Whether the processor implements a vendor-specific System Tick Timer.

Trait Implementations

impl Clone for CpuSpec[src]

impl Debug for CpuSpec[src]

impl PartialEq<CpuSpec> for CpuSpec[src]

impl StructuralPartialEq for CpuSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for CpuSpec

impl Send for CpuSpec

impl Sync for CpuSpec

impl Unpin for CpuSpec

impl UnwindSafe for CpuSpec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.