Struct svd_parser::svd::device::Device [−][src]
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The string identifies the device or device series. Device names are required to be unique
version: Option<String>
Define the version of the SVD file
description: Option<String>
Describe the main features of the device (for example CPU, clock frequency, peripheral overview)
address_unit_bits: Option<u32>
Define the number of data bits uniquely selected by each address
width: Option<u32>
Define the number of data bit-width of the maximum single data transfer supported by the bus infrastructure
cpu: Option<Cpu>
Describe the processor included in the device
peripherals: Vec<Peripheral>
Group to define peripherals
default_register_properties: RegisterProperties
Trait Implementations
impl Clone for Device
[src]
impl Debug for Device
[src]
impl Encode for Device
[src]
impl Parse for Device
[src]
type Object = Self
Object returned by parse method
type Error = Error
Parsing error
fn parse(tree: &Element) -> Result<Self>
[src]
impl PartialEq<Device> for Device
[src]
impl StructuralPartialEq for Device
[src]
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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>,