Struct svd_parser::svd::clusterinfo::ClusterInfo[][src]

#[non_exhaustive]pub struct ClusterInfo {
    pub name: String,
    pub address_offset: u32,
    pub derived_from: Option<String>,
    pub description: Option<String>,
    pub header_struct_name: Option<String>,
    pub default_register_properties: RegisterProperties,
    pub children: Vec<RegisterCluster>,
}

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

String to identify the cluster. Cluster names are required to be unique within the scope of a peripheral

address_offset: u32

Cluster address relative to the baseAddress of the peripheral

derived_from: Option<String>

Specify the cluster name from which to inherit data. Elements specified subsequently override inherited values

description: Option<String>

String describing the details of the register cluster

header_struct_name: Option<String>

Specify the struct type name created in the device header file

default_register_properties: RegisterPropertieschildren: Vec<RegisterCluster>

Trait Implementations

impl Clone for ClusterInfo[src]

impl Debug for ClusterInfo[src]

impl Encode for ClusterInfo[src]

type Error = Error

Encoding error

impl Parse for ClusterInfo[src]

type Object = Self

Object returned by parse method

type Error = Error

Parsing error

impl PartialEq<ClusterInfo> for ClusterInfo[src]

impl StructuralPartialEq for ClusterInfo[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

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.