Struct atsamd51p::qspi::instrframe::OPTCODELEN_R
source · [−]pub struct OPTCODELEN_R(_);
Expand description
Field OPTCODELEN
reader - Option Code Length
Implementations
sourceimpl OPTCODELEN_R
impl OPTCODELEN_R
sourcepub fn variant(&self) -> OPTCODELEN_A
pub fn variant(&self) -> OPTCODELEN_A
Get enumerated values variant
Methods from Deref<Target = FieldReader<u8, OPTCODELEN_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 OPTCODELEN_R
impl Deref for OPTCODELEN_R
type Target = FieldReader<u8, OPTCODELEN_A>
type Target = FieldReader<u8, OPTCODELEN_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for OPTCODELEN_R
impl Send for OPTCODELEN_R
impl Sync for OPTCODELEN_R
impl Unpin for OPTCODELEN_R
impl UnwindSafe for OPTCODELEN_R
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