[][src]Struct stm32l4xx_hal::stm32::dac1::cr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn en1(&self) -> EN1R[src]

Bit 0 - DAC channel1 enable

pub fn ten1(&self) -> TEN1R[src]

Bit 2 - DAC channel1 trigger enable

pub fn tsel1(&self) -> TSEL1R[src]

Bits 3:5 - DAC channel1 trigger selection

pub fn wave1(&self) -> WAVE1R[src]

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

pub fn mamp1(&self) -> MAMP1R[src]

Bits 8:11 - DAC channel1 mask/amplitude selector

pub fn dmaen1(&self) -> DMAEN1R[src]

Bit 12 - DAC channel1 DMA enable

pub fn dmaudrie1(&self) -> DMAUDRIE1R[src]

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

pub fn cen1(&self) -> CEN1R[src]

Bit 14 - DAC Channel 1 calibration enable

pub fn en2(&self) -> EN2R[src]

Bit 16 - DAC channel2 enable

pub fn ten2(&self) -> TEN2R[src]

Bit 18 - DAC channel2 trigger enable

pub fn tsel2(&self) -> TSEL2R[src]

Bits 19:21 - DAC channel2 trigger selection

pub fn wave2(&self) -> WAVE2R[src]

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

pub fn mamp2(&self) -> MAMP2R[src]

Bits 24:27 - DAC channel2 mask/amplitude selector

pub fn dmaen2(&self) -> DMAEN2R[src]

Bit 28 - DAC channel2 DMA enable

pub fn dmaudrie2(&self) -> DMAUDRIE2R[src]

Bit 29 - DAC channel2 DMA underrun interrupt enable

pub fn cen2(&self) -> CEN2R[src]

Bit 30 - DAC Channel 2 calibration enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self