[][src]Struct svd_expander::AddressBlockSpec

pub struct AddressBlockSpec {
    pub offset: u32,
    pub size: u32,
    pub usage: String,
}

Describes an address range uniquely mapped to a peripheral.

Fields

offset: u32

The start address of the address block relative to the peripheral's base address.

size: u32

The number of address unit bits covered by this address block. The end of an address block is the sum of the peripheral's base address and the address block's offset and size.

usage: String

What the address block is used for. The following predefined values are expected:

  • registers
  • buffer
  • reserved

Trait Implementations

impl Clone for AddressBlockSpec[src]

impl Debug for AddressBlockSpec[src]

impl PartialEq<AddressBlockSpec> for AddressBlockSpec[src]

impl StructuralPartialEq for AddressBlockSpec[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> 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.