#[repr(transparent)]
pub struct WriteOnly<T, R = ()> where
    T: UIntLike,
    R: RegisterLongName
{ /* private fields */ }
Expand description

Write-only registers.

For setting the register contents the Writeable trait is implemented.

Trait Implementations

Set the raw register value

Write the value of one or more fields, overwriting the other fields with zero

Write the value of one or more fields, maintaining the value of unchanged fields via a provided original value, rather than a register read. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.