Enum stm32_metapac::dac::vals::Wave
#[repr(u8)]pub enum Wave {
DISABLED = 0,
NOISE = 1,
TRIANGLE = 2,
_RESERVED_3 = 3,
}
Variants§
DISABLED = 0
Wave generation disabled
NOISE = 1
Noise wave generation enabled
TRIANGLE = 2
Triangle wave generation enabled
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Wave
impl Ord for Wave
§impl PartialOrd for Wave
impl PartialOrd for Wave
§fn partial_cmp(&self, other: &Wave) -> Option<Ordering>
fn partial_cmp(&self, other: &Wave) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Wave
impl Eq for Wave
impl StructuralEq for Wave
impl StructuralPartialEq for Wave
Auto Trait Implementations§
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