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