[][src]Enum drone_svd::Access

#[non_exhaustive]
pub enum Access {
    WriteOnly,
    ReadOnly,
    ReadWrite,
    ReadWriteonce,
}

Predefined access rights.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WriteOnly

Read operations have an undefined result. Write access is permitted.

ReadOnly

Read access is permitted. Write operations have an undefined result.

ReadWrite

Read and write accesses are permitted. Writes affect the state of the register and reads return the register value.

ReadWriteonce

Read access is always permitted. Only the first write access after a reset will have an effect on the content. Other write operations have an undefined result.

Trait Implementations

impl Clone for Access[src]

impl Copy for Access[src]

impl Eq for Access[src]

impl PartialEq<Access> for Access[src]

impl Debug for Access[src]

impl StructuralPartialEq for Access[src]

impl StructuralEq for Access[src]

impl<'de> Deserialize<'de> for Access[src]

Auto Trait Implementations

impl Send for Access

impl Sync for Access

impl Unpin for Access

impl UnwindSafe for Access

impl RefUnwindSafe for Access

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]