pub struct Channel1<ED> { /* private fields */ }
Implementations§
Source§impl Channel1<Disabled>
impl Channel1<Disabled>
pub fn enable(self) -> Channel1<Enabled>
pub fn enable_unbuffered(self) -> Channel1<EnabledUnbuffered>
pub fn enable_generator( self, config: GeneratorConfig, ) -> Channel1<WaveGenerator>
Source§impl<ED> Channel1<ED>
impl<ED> Channel1<ED>
Sourcepub fn calibrate_buffer<T>(self, delay: &mut T) -> Channel1<Disabled>
pub fn calibrate_buffer<T>(self, delay: &mut T) -> Channel1<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<ED> Freeze for Channel1<ED>
impl<ED> RefUnwindSafe for Channel1<ED>where
ED: RefUnwindSafe,
impl<ED> Send for Channel1<ED>where
ED: Send,
impl<ED> Sync for Channel1<ED>where
ED: Sync,
impl<ED> Unpin for Channel1<ED>where
ED: Unpin,
impl<ED> UnwindSafe for Channel1<ED>where
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