Struct stm32l4x6::comp::comp2_csr::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Reset value of the register

Writes raw bits to the register

Bit 0 - Comparator 2 enable bit

Bits 2:3 - Power Mode of the comparator 2

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

Bit 7 - Comparator 2 Input Plus connection configuration bit

Bit 9 - Windows mode selection bit

Bit 15 - Comparator 2 polarity selection bit

Bits 16:17 - Comparator 2 hysteresis selection bits

Bits 18:20 - Comparator 2 blanking source selection bits

Bit 22 - Scaler bridge enable

Bit 23 - Voltage scaler enable bit

Bit 31 - COMP2_CSR register lock bit

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.

Should always be Self
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.