Struct R

Source
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn dmaudrie2(&self) -> DMAUDRIE2R

Bit 29 - DAC channel2 DMA underrun interrupt enable

Source

pub fn dmaen2(&self) -> DMAEN2R

Bit 28 - DAC channel2 DMA enable

Source

pub fn mamp2(&self) -> MAMP2R

Bits 24:27 - DAC channel2 mask/amplitude selector

Source

pub fn wave2(&self) -> WAVE2R

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

Source

pub fn tsel2(&self) -> TSEL2R

Bits 19:21 - DAC channel2 trigger selection

Source

pub fn ten2(&self) -> TEN2R

Bit 18 - DAC channel2 trigger enable

Source

pub fn boff2(&self) -> BOFF2R

Bit 17 - DAC channel2 output buffer disable

Source

pub fn en2(&self) -> EN2R

Bit 16 - DAC channel2 enable

Source

pub fn dmaudrie1(&self) -> DMAUDRIE1R

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

Source

pub fn dmaen1(&self) -> DMAEN1R

Bit 12 - DAC channel1 DMA enable

Source

pub fn mamp1(&self) -> MAMP1R

Bits 8:11 - DAC channel1 mask/amplitude selector

Source

pub fn wave1(&self) -> WAVE1R

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

Source

pub fn tsel1(&self) -> TSEL1R

Bits 3:5 - DAC channel1 trigger selection

Source

pub fn ten1(&self) -> TEN1R

Bit 2 - DAC channel1 trigger enable

Source

pub fn boff1(&self) -> BOFF1R

Bit 1 - DAC channel1 output buffer disable

Source

pub fn en1(&self) -> EN1R

Bit 0 - DAC channel1 enable

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.