Struct atsamv71q20::usbhs::usbhs_devctrl::SPDCONF_R
source · [−]pub struct SPDCONF_R(_);
Expand description
Field SPDCONF
reader - Mode Configuration
Implementations
sourceimpl SPDCONF_R
impl SPDCONF_R
sourcepub fn is_low_power(&self) -> bool
pub fn is_low_power(&self) -> bool
Checks if the value of the field is LOW_POWER
sourcepub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGH_SPEED
sourcepub fn is_forced_fs(&self) -> bool
pub fn is_forced_fs(&self) -> bool
Checks if the value of the field is FORCED_FS
Methods from Deref<Target = FieldReader<u8, SPDCONF_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
Auto Trait Implementations
impl RefUnwindSafe for SPDCONF_R
impl Send for SPDCONF_R
impl Sync for SPDCONF_R
impl Unpin for SPDCONF_R
impl UnwindSafe for SPDCONF_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