[][src]Struct svd_parser::svd::peripheral::Peripheral

pub struct Peripheral {
    pub name: String,
    pub version: Option<String>,
    pub display_name: Option<String>,
    pub group_name: Option<String>,
    pub description: Option<String>,
    pub base_address: u32,
    pub address_block: Option<AddressBlock>,
    pub interrupt: Vec<Interrupt>,
    pub default_register_properties: RegisterProperties,
    pub registers: Option<Vec<RegisterCluster>>,
    pub derived_from: Option<String>,
    // some fields omitted
}

Fields

name: Stringversion: Option<String>display_name: Option<String>group_name: Option<String>description: Option<String>base_address: u32address_block: Option<AddressBlock>interrupt: Vec<Interrupt>default_register_properties: RegisterPropertiesregisters: Option<Vec<RegisterCluster>>

None indicates that the <registers> node is not present

derived_from: Option<String>

Trait Implementations

impl Parse for Peripheral[src]

type Object = Peripheral

Object returned by parse method

type Error = Error

Parsing error

impl Clone for Peripheral[src]

impl Debug for Peripheral[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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