pub struct W(_);
Expand description

Register CSR writer

Implementations

Bit 31 - Result ready flag

Bit 22 - Width of input data

Bit 21 - Width of output data

Bit 20 - Number of arguments expected by the WDATA register

Bit 19 - Number of results in the RDATA register

Bit 18 - Enable DMA write channel

Bit 17 - Enable DMA wread channel

Bit 16 - Enable interrupt

Bits 8:10 - Scaling factor (2^-n for arguments, 2^n for results)

Bits 4:7 - Precision required (number of iterations/cycles), where PRECISION = (number of iterations/4)

Bits 0:3 - Function

Writes raw bits to the register.

Methods from Deref<Target = W<CSR_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

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.