#[repr(transparent)]pub struct AddrEndpX(pub u32);
Expand description
Interrupt endpoint 13. Only valid for HOST mode.
Tuple Fields§
§0: u32
Implementations§
source§impl AddrEndpX
impl AddrEndpX
sourcepub fn set_address(&mut self, val: u8)
pub fn set_address(&mut self, val: u8)
Device address
sourcepub fn set_endpoint(&mut self, val: u8)
pub fn set_endpoint(&mut self, val: u8)
Endpoint number of the interrupt endpoint
sourcepub fn set_intep_dir(&mut self, val: bool)
pub fn set_intep_dir(&mut self, val: bool)
Direction of the interrupt endpoint. In=0, Out=1
sourcepub const fn intep_preamble(&self) -> bool
pub const fn intep_preamble(&self) -> bool
Interrupt EP requires preamble (is a low speed device on a full speed hub)
sourcepub fn set_intep_preamble(&mut self, val: bool)
pub fn set_intep_preamble(&mut self, val: bool)
Interrupt EP requires preamble (is a low speed device on a full speed hub)
Trait Implementations§
impl Copy for AddrEndpX
impl Eq for AddrEndpX
impl StructuralPartialEq for AddrEndpX
Auto Trait Implementations§
impl Freeze for AddrEndpX
impl RefUnwindSafe for AddrEndpX
impl Send for AddrEndpX
impl Sync for AddrEndpX
impl Unpin for AddrEndpX
impl UnwindSafe for AddrEndpX
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
)