Struct stm32f072_hal::stm32::dac::cr::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 - DAC channel1 enable

Bit 1 - DAC channel1 output buffer disable

Bit 2 - DAC channel1 trigger enable

Bits 3:5 - DAC channel1 trigger selection

Bits 6:7 - DAC channel1 noise/triangle wave generation enable

Bits 8:11 - DAC channel1 mask/amplitude selector

Bit 12 - DAC channel1 DMA enable

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

Bit 16 - DAC channel2 enable

Bit 17 - DAC channel2 output buffer disable

Bit 18 - DAC channel2 trigger enable

Bits 19:21 - DAC channel2 trigger selection

Bits 22:23 - DAC channel2 noise/triangle wave generation enable

Bits 24:27 - DAC channel2 mask/amplitude selector

Bit 28 - DAC channel2 DMA enable

Bit 29 - DAC channel2 DMA underrun interrupt enable

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.