Struct lpc845_pac::acomp::lad::W[][src]

pub struct W(_);
Expand description

Register LAD writer

Implementations

Bit 0 - Voltage ladder enable

Bits 1:5 - Voltage ladder value. The reference voltage Vref depends on the LADREF bit below. 00000 = VSS 00001 = 1 x Vref/31 00010 = 2 x Vref/31 … 11111 = Vref

Bit 6 - Selects the reference voltage Vref for the voltage ladder.

Writes raw bits to the register.

Methods from Deref<Target = W<LAD_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.