Struct esp32s2::apb_saradc::apb_dac_ctrl::W
source · pub struct W(_);
Expand description
Register APB_DAC_CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn dac_timer_target(&mut self) -> DAC_TIMER_TARGET_W<'_, 0>
pub fn dac_timer_target(&mut self) -> DAC_TIMER_TARGET_W<'_, 0>
Bits 0:11 - Set DAC timer target.
sourcepub fn dac_timer_en(&mut self) -> DAC_TIMER_EN_W<'_, 12>
pub fn dac_timer_en(&mut self) -> DAC_TIMER_EN_W<'_, 12>
Bit 12 - Enable read dac data.
sourcepub fn apb_dac_alter_mode(&mut self) -> APB_DAC_ALTER_MODE_W<'_, 13>
pub fn apb_dac_alter_mode(&mut self) -> APB_DAC_ALTER_MODE_W<'_, 13>
Bit 13 - Enable DAC alter mode.
sourcepub fn apb_dac_trans(&mut self) -> APB_DAC_TRANS_W<'_, 14>
pub fn apb_dac_trans(&mut self) -> APB_DAC_TRANS_W<'_, 14>
Bit 14 - Enable DMA_DAC.
sourcepub fn dac_reset_fifo(&mut self) -> DAC_RESET_FIFO_W<'_, 15>
pub fn dac_reset_fifo(&mut self) -> DAC_RESET_FIFO_W<'_, 15>
Bit 15 - Reset DIG DAC FIFO.
sourcepub fn apb_dac_rst(&mut self) -> APB_DAC_RST_W<'_, 16>
pub fn apb_dac_rst(&mut self) -> APB_DAC_RST_W<'_, 16>
Bit 16 - Reset DIG DAC by software.
Methods from Deref<Target = W<APB_DAC_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more