Struct patch_svd::output::AddressBlock [−][src]
pub struct AddressBlock { pub offset: SvdConstant, pub size: SvdConstant, pub usage: AddressBlockUsage, pub protection: Option<Protection>, }
Specify an address range uniquely mapped to this peripheral.
A peripheral must have at least one address block. If a peripheral is derived form another peripheral, the
Fields
offset: SvdConstant
Specifies the start address of an address block relative to the peripheral baseAddress.
size: SvdConstant
Specifies the number of addressUnitBits being covered by this address block.
The end address of an address block results from the sum of baseAddress, offset, and (size - 1).
usage: AddressBlockUsage
Defines the usage of the address block
protection: Option<Protection>
Set the protection level for an address block.
Trait Implementations
impl Clone for AddressBlock
[src]
fn clone(&self) -> AddressBlock
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AddressBlock
[src]
impl<'de> Deserialize<'de> for AddressBlock
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for AddressBlock
[src]
impl PartialEq<AddressBlock> for AddressBlock
[src]
fn eq(&self, other: &AddressBlock) -> bool
[src]
fn ne(&self, other: &AddressBlock) -> bool
[src]
impl StructuralEq for AddressBlock
[src]
impl StructuralPartialEq for AddressBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for AddressBlock
impl Send for AddressBlock
impl Sync for AddressBlock
impl Unpin for AddressBlock
impl UnwindSafe for AddressBlock
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> 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>,