[−][src]Struct stm32l4x6::dac::cr::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn en1(&mut self) -> _EN1W
[src]
pub fn en1(&mut self) -> _EN1W
Bit 0 - DAC channel1 enable
pub fn ten1(&mut self) -> _TEN1W
[src]
pub fn ten1(&mut self) -> _TEN1W
Bit 2 - DAC channel1 trigger enable
pub fn tsel1(&mut self) -> _TSEL1W
[src]
pub fn tsel1(&mut self) -> _TSEL1W
Bits 3:5 - DAC channel1 trigger selection
pub fn wave1(&mut self) -> _WAVE1W
[src]
pub fn wave1(&mut self) -> _WAVE1W
Bits 6:7 - DAC channel1 noise/triangle wave generation enable
pub fn mamp1(&mut self) -> _MAMP1W
[src]
pub fn mamp1(&mut self) -> _MAMP1W
Bits 8:11 - DAC channel1 mask/amplitude selector
pub fn dmaen1(&mut self) -> _DMAEN1W
[src]
pub fn dmaen1(&mut self) -> _DMAEN1W
Bit 12 - DAC channel1 DMA enable
pub fn dmaudrie1(&mut self) -> _DMAUDRIE1W
[src]
pub fn dmaudrie1(&mut self) -> _DMAUDRIE1W
Bit 13 - DAC channel1 DMA Underrun Interrupt enable
pub fn cen1(&mut self) -> _CEN1W
[src]
pub fn cen1(&mut self) -> _CEN1W
Bit 14 - DAC Channel 1 calibration enable
pub fn en2(&mut self) -> _EN2W
[src]
pub fn en2(&mut self) -> _EN2W
Bit 16 - DAC channel2 enable
pub fn ten2(&mut self) -> _TEN2W
[src]
pub fn ten2(&mut self) -> _TEN2W
Bit 18 - DAC channel2 trigger enable
pub fn tsel2(&mut self) -> _TSEL2W
[src]
pub fn tsel2(&mut self) -> _TSEL2W
Bits 19:21 - DAC channel2 trigger selection
pub fn wave2(&mut self) -> _WAVE2W
[src]
pub fn wave2(&mut self) -> _WAVE2W
Bits 22:23 - DAC channel2 noise/triangle wave generation enable
pub fn mamp2(&mut self) -> _MAMP2W
[src]
pub fn mamp2(&mut self) -> _MAMP2W
Bits 24:27 - DAC channel2 mask/amplitude selector
pub fn dmaen2(&mut self) -> _DMAEN2W
[src]
pub fn dmaen2(&mut self) -> _DMAEN2W
Bit 28 - DAC channel2 DMA enable
pub fn dmaudrie2(&mut self) -> _DMAUDRIE2W
[src]
pub fn dmaudrie2(&mut self) -> _DMAUDRIE2W
Bit 29 - DAC channel2 DMA underrun interrupt enable
pub fn cen2(&mut self) -> _CEN2W
[src]
pub fn cen2(&mut self) -> _CEN2W
Bit 30 - DAC Channel 2 calibration enable
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more