Struct Dthrctl
#[repr(transparent)]pub struct Dthrctl(pub u32);Expand description
Device threshold control register
Tuple Fields§
§0: u32Implementations§
§impl Dthrctl
impl Dthrctl
pub const fn nonisothren(&self) -> bool
pub const fn nonisothren(&self) -> bool
Nonisochronous IN endpoints threshold enable
pub const fn set_nonisothren(&mut self, val: bool)
pub const fn set_nonisothren(&mut self, val: bool)
Nonisochronous IN endpoints threshold enable
pub const fn set_isothren(&mut self, val: bool)
pub const fn set_isothren(&mut self, val: bool)
ISO IN endpoint threshold enable
pub const fn set_txthrlen(&mut self, val: u16)
pub const fn set_txthrlen(&mut self, val: u16)
Transmit threshold length, in 32-bit words
pub const fn set_rxthren(&mut self, val: bool)
pub const fn set_rxthren(&mut self, val: bool)
Receive threshold enable
pub const fn set_rxthrlen(&mut self, val: u16)
pub const fn set_rxthrlen(&mut self, val: u16)
Receive threshold length, in 32-bit words
Trait Implementations§
impl Copy for Dthrctl
impl Eq for Dthrctl
impl StructuralPartialEq for Dthrctl
Auto Trait Implementations§
impl Freeze for Dthrctl
impl RefUnwindSafe for Dthrctl
impl Send for Dthrctl
impl Sync for Dthrctl
impl Unpin for Dthrctl
impl UnsafeUnpin for Dthrctl
impl UnwindSafe for Dthrctl
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