Struct stm32h7xx_hal::dac::C1
source · pub struct C1<DAC, ED> { /* private fields */ }
Implementations§
source§impl C1<DAC, Disabled>
impl C1<DAC, Disabled>
pub fn enable(self) -> C1<DAC1, Enabled>
pub fn enable_unbuffered(self) -> C1<DAC1, EnabledUnbuffered>
source§impl<ED> C1<DAC, ED>
impl<ED> C1<DAC, ED>
sourcepub fn calibrate_buffer<T>(self, delay: &mut T) -> C1<DAC1, Disabled>
pub fn calibrate_buffer<T>(self, delay: &mut T) -> C1<DAC1, Disabled>
Calibrate the DAC output buffer by performing a “User trimming” operation. It is useful when the VDDA/VREF+ voltage or temperature differ from the factory trimming conditions.
The calibration is only valid when the DAC channel is operating with the buffer enabled. If applied in other modes it has no effect.
After the calibration operation, the DAC channel is disabled.
Trait Implementations§
Auto Trait Implementations§
impl<DAC, ED> Freeze for C1<DAC, ED>
impl<DAC, ED> RefUnwindSafe for C1<DAC, ED>where
DAC: RefUnwindSafe,
ED: RefUnwindSafe,
impl<DAC, ED> Send for C1<DAC, ED>
impl<DAC, ED> Sync for C1<DAC, ED>
impl<DAC, ED> Unpin for C1<DAC, ED>
impl<DAC, ED> UnwindSafe for C1<DAC, ED>where
DAC: UnwindSafe,
ED: UnwindSafe,
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