pub struct CLOCK_SOURCE_R(_);
Expand description
Field clock_source
reader - Use internal I2S clock or external XTAL clock
Implementations
sourceimpl CLOCK_SOURCE_R
impl CLOCK_SOURCE_R
sourcepub fn variant(&self) -> CLOCK_SOURCE_A
pub fn variant(&self) -> CLOCK_SOURCE_A
Get enumerated values variant
sourcepub fn is_internal(&self) -> bool
pub fn is_internal(&self) -> bool
Checks if the value of the field is INTERNAL
sourcepub fn is_external(&self) -> bool
pub fn is_external(&self) -> bool
Checks if the value of the field is EXTERNAL
Methods from Deref<Target = FieldReader<bool>>
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 CLOCK_SOURCE_R
impl Deref for CLOCK_SOURCE_R
Auto Trait Implementations
impl RefUnwindSafe for CLOCK_SOURCE_R
impl Send for CLOCK_SOURCE_R
impl Sync for CLOCK_SOURCE_R
impl Unpin for CLOCK_SOURCE_R
impl UnwindSafe for CLOCK_SOURCE_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