Struct rp2040_pac2::usb::regs::NakPoll[][src]

#[repr(transparent)]pub struct NakPoll(pub u32);

Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK.

Implementations

impl NakPoll[src]

pub const fn delay_fs(&self) -> u16[src]

NAK polling interval for a full speed device

pub fn set_delay_fs(&mut self, val: u16)[src]

NAK polling interval for a full speed device

pub const fn delay_ls(&self) -> u16[src]

NAK polling interval for a low speed device

pub fn set_delay_ls(&mut self, val: u16)[src]

NAK polling interval for a low speed device

Trait Implementations

impl Clone for NakPoll[src]

impl Copy for NakPoll[src]

impl Default for NakPoll[src]

Auto Trait Implementations

impl Send for NakPoll

impl Sync for NakPoll

impl Unpin for NakPoll

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.