pub struct ONECHANNEL_R(_);
Expand description
Field ONECHANNEL
reader - Single channel mode. Applies to both transmit and receive. This configuration bit applies only to the first I2S channel pair. Other channel pairs may select this mode independently in their separate CFG1 registers.
Implementations
sourceimpl ONECHANNEL_R
impl ONECHANNEL_R
sourcepub fn variant(&self) -> ONECHANNEL_A
pub fn variant(&self) -> ONECHANNEL_A
Get enumerated values variant
sourcepub fn is_dual_channel(&self) -> bool
pub fn is_dual_channel(&self) -> bool
Checks if the value of the field is DUAL_CHANNEL
sourcepub fn is_single_channel(&self) -> bool
pub fn is_single_channel(&self) -> bool
Checks if the value of the field is SINGLE_CHANNEL
Methods from Deref<Target = FieldReader<bool, ONECHANNEL_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
sourceimpl Deref for ONECHANNEL_R
impl Deref for ONECHANNEL_R
type Target = FieldReader<bool, ONECHANNEL_A>
type Target = FieldReader<bool, ONECHANNEL_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for ONECHANNEL_R
impl Send for ONECHANNEL_R
impl Sync for ONECHANNEL_R
impl Unpin for ONECHANNEL_R
impl UnwindSafe for ONECHANNEL_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