pub struct WAVE2_R(_);
Expand description
Field WAVE2
reader - DAC channel2 noise/triangle wave generation enable
Implementations
sourceimpl WAVE2_R
impl WAVE2_R
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
Methods from Deref<Target = FieldReader<u8, WAVE2_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WAVE2_R
impl Send for WAVE2_R
impl Sync for WAVE2_R
impl Unpin for WAVE2_R
impl UnwindSafe for WAVE2_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more