#[repr(transparent)]pub struct Epstatus(pub u32);
Expand description
Provides information on which endpoint’s EasyDMA registers have been captured
Tuple Fields§
§0: u32
Implementations§
Source§impl Epstatus
impl Epstatus
Sourcepub const fn epin(&self, n: usize) -> bool
pub const fn epin(&self, n: usize) -> bool
Captured state of endpoint’s EasyDMA registers. Write ‘1’ to clear.
Sourcepub fn set_epin(&mut self, n: usize, val: bool)
pub fn set_epin(&mut self, n: usize, val: bool)
Captured state of endpoint’s EasyDMA registers. Write ‘1’ to clear.
Trait Implementations§
impl Copy for Epstatus
impl Eq for Epstatus
impl StructuralPartialEq for Epstatus
Auto Trait Implementations§
impl Freeze for Epstatus
impl RefUnwindSafe for Epstatus
impl Send for Epstatus
impl Sync for Epstatus
impl Unpin for Epstatus
impl UnwindSafe for Epstatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)