Enum stm32_metapac::dac::vals::Wave
#[repr(u8)]pub enum Wave {
DISABLED = 0,
NOISE = 1,
TRIANGLE = 2,
SAWTOOTH = 3,
}
Variants§
DISABLED = 0
Wave generation disabled
NOISE = 1
Noise wave generation enabled
TRIANGLE = 2
Triangle wave generation enabled
SAWTOOTH = 3
Sawtooth wave generation enabled
Implementations§
Trait Implementations§
§impl Ord for Wave
impl Ord for Wave
§impl PartialOrd for Wave
impl PartialOrd for Wave
impl Copy for Wave
impl Eq for Wave
impl StructuralPartialEq for Wave
Auto Trait Implementations§
impl Freeze for Wave
impl RefUnwindSafe for Wave
impl Send for Wave
impl Sync for Wave
impl Unpin for Wave
impl UnwindSafe for Wave
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
)