Struct rp2040_pac2::usb::regs::AddrEndpX [−][src]
Interrupt endpoint 15. Only valid for HOST mode.
Implementations
impl AddrEndpX
[src]
pub const fn intep_preamble(&self) -> bool
[src]
Interrupt EP requires preamble (is a low speed device on a full speed hub)
pub fn set_intep_preamble(&mut self, val: bool)
[src]
Interrupt EP requires preamble (is a low speed device on a full speed hub)
pub const fn intep_dir(&self) -> bool
[src]
Direction of the interrupt endpoint. In=0, Out=1
pub fn set_intep_dir(&mut self, val: bool)
[src]
Direction of the interrupt endpoint. In=0, Out=1
pub const fn endpoint(&self) -> u8
[src]
Endpoint number of the interrupt endpoint
pub fn set_endpoint(&mut self, val: u8)
[src]
Endpoint number of the interrupt endpoint
pub const fn address(&self) -> u8
[src]
Device address
pub fn set_address(&mut self, val: u8)
[src]
Device address
Trait Implementations
impl Clone for AddrEndpX
[src]
fn clone(&self) -> AddrEndpX
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AddrEndpX
[src]
impl Default for AddrEndpX
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,