Struct stm32g0::stm32g0c1::dac::dac_cr::MAMP1_W[][src]

pub struct MAMP1_W<'a> { /* fields omitted */ }
Expand description

Field MAMP1 writer - DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. ≥ 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095

Implementations

Writes variant to the field

Unmask bit0 of LFSR/ triangle amplitude equal to 1

Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3

Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7

Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15

Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31

Unmask bits[5:0] of LFSR/ triangle amplitude equal to 63

Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127

Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255

Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511

Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023

Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047

Writes raw bits to the field

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.