Struct stm32h7xx_hal::dac::C1 [−][src]
Implementations
impl C1<DAC1, Disabled>
[src]
pub fn enable(self) -> C1<DAC1, Enabled>
[src]
pub fn enable_unbuffered(self) -> C1<DAC1, EnabledUnbuffered>
[src]
impl<ED> C1<DAC1, ED>
[src]
pub fn calibrate_buffer<T>(self, delay: &mut T) -> C1<DAC1, Disabled> where
T: DelayUs<u32>,
[src]
T: DelayUs<u32>,
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.
pub fn disable(self) -> C1<DAC1, Disabled>
[src]
Disable the DAC channel
Trait Implementations
impl<ED> DacOut<u16> for C1<DAC1, ED>
[src]
DacOut implementation available in any Enabled/Disabled state
Auto Trait Implementations
impl<DAC, ED> Send for C1<DAC, ED> where
DAC: Send,
ED: Send,
DAC: Send,
ED: Send,
impl<DAC, ED> Sync for C1<DAC, ED> where
DAC: Sync,
ED: Sync,
DAC: Sync,
ED: Sync,
impl<DAC, ED> Unpin for C1<DAC, ED> where
DAC: Unpin,
ED: Unpin,
DAC: Unpin,
ED: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,