Struct stm32l4xx_hal::pac::usb::cntr::L1RESUME_R
source · [−]pub struct L1RESUME_R(_);
Expand description
Field L1RESUME
reader - LPM L1 Resume request
Implementations
sourceimpl L1RESUME_R
impl L1RESUME_R
sourcepub fn variant(&self) -> Option<L1RESUME_A>
pub fn variant(&self) -> Option<L1RESUME_A>
Get enumerated values variant
sourcepub fn is_requested(&self) -> bool
pub fn is_requested(&self) -> bool
Checks if the value of the field is REQUESTED
Methods from Deref<Target = FieldReader<bool, L1RESUME_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 L1RESUME_R
impl Deref for L1RESUME_R
type Target = FieldReader<bool, L1RESUME_A>
type Target = FieldReader<bool, L1RESUME_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<L1RESUME_R as Deref>::Target
fn deref(&self) -> &<L1RESUME_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for L1RESUME_R
impl Send for L1RESUME_R
impl Sync for L1RESUME_R
impl Unpin for L1RESUME_R
impl UnwindSafe for L1RESUME_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