Struct svd_parser::svd::peripheral::Peripheral [−][src]
Fields (Non-exhaustive)
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The string identifies the peripheral. Peripheral names are required to be unique for a device
base_address: u64
Lowest address reserved or used by the peripheral
version: Option<String>
The string specifies the version of this peripheral description
display_name: Option<String>
group_name: Option<String>
description: Option<String>
The string provides an overview of the purpose and functionality of the peripheral
address_block: Option<AddressBlock>
Specify an address range uniquely mapped to this peripheral
interrupt: Vec<Interrupt>
A peripheral can have multiple associated interrupts
default_register_properties: RegisterProperties
registers: Option<Vec<RegisterCluster>>
Group to enclose register definitions.
None
indicates that the <registers>
node is not present
derived_from: Option<String>
Specify the peripheral name from which to inherit data. Elements specified subsequently override inherited values
Trait Implementations
impl Clone for Peripheral
[src]
fn clone(&self) -> Peripheral
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Peripheral
[src]
impl Encode for Peripheral
[src]
impl Parse for Peripheral
[src]
type Object = Self
Object returned by parse method
type Error = Error
Parsing error
fn parse(tree: &Element) -> Result<Self>
[src]
impl PartialEq<Peripheral> for Peripheral
[src]
fn eq(&self, other: &Peripheral) -> bool
[src]
fn ne(&self, other: &Peripheral) -> bool
[src]
impl StructuralPartialEq for Peripheral
[src]
Auto Trait Implementations
impl RefUnwindSafe for Peripheral
impl Send for Peripheral
impl Sync for Peripheral
impl Unpin for Peripheral
impl UnwindSafe for Peripheral
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,