pub struct EP_TYPE_R(_);
Expand description
Field EP_TYPE
reader - Endpoint type
Implementations
sourceimpl EP_TYPE_R
impl EP_TYPE_R
sourcepub fn is_control(&self) -> bool
pub fn is_control(&self) -> bool
Checks if the value of the field is CONTROL
sourcepub fn is_interrupt(&self) -> bool
pub fn is_interrupt(&self) -> bool
Checks if the value of the field is INTERRUPT
Methods from Deref<Target = FieldReader<u8, EP_TYPE_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 EP_TYPE_R
impl Send for EP_TYPE_R
impl Sync for EP_TYPE_R
impl Unpin for EP_TYPE_R
impl UnwindSafe for EP_TYPE_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