[][src]Enum svd_expander::ModifiedWriteValuesSpec

pub enum ModifiedWriteValuesSpec {
    OneToClear,
    OneToSet,
    OneToToggle,
    ZeroToClear,
    ZeroToSet,
    ZeroToToggle,
    Clear,
    Set,
    Modify,
}

Describes the manipulation of data written to a field. If not specified, the values written to the field is the value stored in the field.

Variants

OneToClear

Write data bit of one shall clear (set to zero) the corresponding bit in the field.

OneToSet

Write data bit of one shall set (set to one) the corresponding bit in the field.

OneToToggle

Write data bit of one shall toggle (invert) the corresponding bit in the field.

ZeroToClear

Write data bit of zero shall clear (set to zero) the corresponding bit in the field.

ZeroToSet

Write data bit of zero shall set (set to one) the corresponding bit in the field.

ZeroToToggle

Write data bit of zero shall toggle (invert) the corresponding bit in the field.

Clear

After a write operation, all the bits in the field are cleared (set to zero).

Set

After a write operation, all the bits in the field are set (set to one).

Modify

After a write operation, all the bits in the field may be modified (default).

Trait Implementations

impl Clone for ModifiedWriteValuesSpec[src]

impl Debug for ModifiedWriteValuesSpec[src]

impl PartialEq<ModifiedWriteValuesSpec> for ModifiedWriteValuesSpec[src]

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