pub struct MODE_R(/* private fields */);Expand description
Field MODE reader - Audio block mode
Implementations§
Source§impl MODE_R
impl MODE_R
Sourcepub fn is_master_tx(&self) -> bool
pub fn is_master_tx(&self) -> bool
Checks if the value of the field is MASTERTX
Sourcepub fn is_master_rx(&self) -> bool
pub fn is_master_rx(&self) -> bool
Checks if the value of the field is MASTERRX
Sourcepub fn is_slave_tx(&self) -> bool
pub fn is_slave_tx(&self) -> bool
Checks if the value of the field is SLAVETX
Sourcepub fn is_slave_rx(&self) -> bool
pub fn is_slave_rx(&self) -> bool
Checks if the value of the field is SLAVERX
Methods from Deref<Target = FieldReader<u8, MODE_A>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MODE_R
impl RefUnwindSafe for MODE_R
impl Send for MODE_R
impl Sync for MODE_R
impl Unpin for MODE_R
impl UnwindSafe for MODE_R
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