pub enum WAVE1R {
DISABLED,
NOISE,
TRIANGLE,
_Reserved(u8),
}
Expand description
Possible values of the field WAVE1
Variants§
DISABLED
Wave generation disabled
NOISE
Noise wave generation enabled
TRIANGLE
Triangle wave generation enabled
_Reserved(u8)
Reserved
Implementations§
Source§impl WAVE1R
impl WAVE1R
Sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
Sourcepub fn is_triangle(&self) -> bool
pub fn is_triangle(&self) -> bool
Checks if the value of the field is TRIANGLE
Trait Implementations§
impl Copy for WAVE1R
impl StructuralPartialEq for WAVE1R
Auto Trait Implementations§
impl Freeze for WAVE1R
impl RefUnwindSafe for WAVE1R
impl Send for WAVE1R
impl Sync for WAVE1R
impl Unpin for WAVE1R
impl UnwindSafe for WAVE1R
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