Struct stm32l4xx_hal::stm32::spi1::cr1::BIDIMODE_R
source · [−]pub struct BIDIMODE_R(_);
Expand description
Field BIDIMODE
reader - Bidirectional data mode enable
Implementations
sourceimpl BIDIMODE_R
impl BIDIMODE_R
sourcepub fn variant(&self) -> BIDIMODE_A
pub fn variant(&self) -> BIDIMODE_A
Get enumerated values variant
sourcepub fn is_unidirectional(&self) -> bool
pub fn is_unidirectional(&self) -> bool
Checks if the value of the field is UNIDIRECTIONAL
sourcepub fn is_bidirectional(&self) -> bool
pub fn is_bidirectional(&self) -> bool
Checks if the value of the field is BIDIRECTIONAL
Methods from Deref<Target = FieldReader<bool, BIDIMODE_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 BIDIMODE_R
impl Deref for BIDIMODE_R
type Target = FieldReader<bool, BIDIMODE_A>
type Target = FieldReader<bool, BIDIMODE_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<BIDIMODE_R as Deref>::Target
fn deref(&self) -> &<BIDIMODE_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for BIDIMODE_R
impl Send for BIDIMODE_R
impl Sync for BIDIMODE_R
impl Unpin for BIDIMODE_R
impl UnwindSafe for BIDIMODE_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