pub struct MSTSLVCFG_R(_);
Expand description
Field MSTSLVCFG
reader - Master / slave configuration selection, determining how SCK and WS are used by all channel pairs in this Flexcomm.
Implementations
sourceimpl MSTSLVCFG_R
impl MSTSLVCFG_R
sourcepub fn variant(&self) -> MSTSLVCFG_A
pub fn variant(&self) -> MSTSLVCFG_A
Get enumerated values variant
sourcepub fn is_normal_slave_mode(&self) -> bool
pub fn is_normal_slave_mode(&self) -> bool
Checks if the value of the field is NORMAL_SLAVE_MODE
sourcepub fn is_ws_sync_master(&self) -> bool
pub fn is_ws_sync_master(&self) -> bool
Checks if the value of the field is WS_SYNC_MASTER
sourcepub fn is_master_using_sck(&self) -> bool
pub fn is_master_using_sck(&self) -> bool
Checks if the value of the field is MASTER_USING_SCK
sourcepub fn is_normal_master(&self) -> bool
pub fn is_normal_master(&self) -> bool
Checks if the value of the field is NORMAL_MASTER
Methods from Deref<Target = FieldReader<u8, MSTSLVCFG_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 MSTSLVCFG_R
impl Deref for MSTSLVCFG_R
type Target = FieldReader<u8, MSTSLVCFG_A>
type Target = FieldReader<u8, MSTSLVCFG_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for MSTSLVCFG_R
impl Send for MSTSLVCFG_R
impl Sync for MSTSLVCFG_R
impl Unpin for MSTSLVCFG_R
impl UnwindSafe for MSTSLVCFG_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