Enum nrf52840_hal::target::twim0::shorts::LASTRX_STARTTXR
source · pub enum LASTRX_STARTTXR {
DISABLED,
ENABLED,
}
Expand description
Possible values of the field LASTRX_STARTTX
Variants
DISABLED
Disable shortcut
ENABLED
Enable shortcut
Implementations
sourceimpl LASTRX_STARTTXR
impl LASTRX_STARTTXR
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)
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED
Trait Implementations
sourceimpl Clone for LASTRX_STARTTXR
impl Clone for LASTRX_STARTTXR
sourcefn clone(&self) -> LASTRX_STARTTXR
fn clone(&self) -> LASTRX_STARTTXR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LASTRX_STARTTXR
impl Debug for LASTRX_STARTTXR
sourceimpl PartialEq<LASTRX_STARTTXR> for LASTRX_STARTTXR
impl PartialEq<LASTRX_STARTTXR> for LASTRX_STARTTXR
sourcefn eq(&self, other: &LASTRX_STARTTXR) -> bool
fn eq(&self, other: &LASTRX_STARTTXR) -> bool
impl Copy for LASTRX_STARTTXR
impl StructuralPartialEq for LASTRX_STARTTXR
Auto Trait Implementations
impl RefUnwindSafe for LASTRX_STARTTXR
impl Send for LASTRX_STARTTXR
impl Sync for LASTRX_STARTTXR
impl Unpin for LASTRX_STARTTXR
impl UnwindSafe for LASTRX_STARTTXR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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