pub enum Mode {
NormalExternalBuffered,
NormalBothBuffered,
NormalExternalUnbuffered,
NormalInternalUnbuffered,
SampleHoldExternalBuffered,
SampleHoldBothBuffered,
SampleHoldBothUnbuffered,
SampleHoldInternalUnbuffered,
}
Expand description
Operating mode for DAC channel
Variants§
NormalExternalBuffered
Normal mode, channel is connected to external pin with buffer enabled.
NormalBothBuffered
Normal mode, channel is connected to external pin and internal peripherals with buffer enabled.
NormalExternalUnbuffered
Normal mode, channel is connected to external pin with buffer disabled.
NormalInternalUnbuffered
Normal mode, channel is connected to internal peripherals with buffer disabled.
SampleHoldExternalBuffered
Sample-and-hold mode, channel is connected to external pin with buffer enabled.
SampleHoldBothBuffered
Sample-and-hold mode, channel is connected to external pin and internal peripherals with buffer enabled.
SampleHoldBothUnbuffered
Sample-and-hold mode, channel is connected to external pin and internal peripherals with buffer disabled.
SampleHoldInternalUnbuffered
Sample-and-hold mode, channel is connected to internal peripherals with buffer disabled.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)