#[repr(transparent)]pub struct Dthrctl(pub u32);Expand description
Device Threshold Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Dthrctl
impl Dthrctl
Sourcepub const fn nonisothren(&self) -> bool
pub const fn nonisothren(&self) -> bool
Non-ISO IN Endpoints Threshold Enable. (NonISOThrEn)
Sourcepub const fn set_nonisothren(&mut self, val: bool)
pub const fn set_nonisothren(&mut self, val: bool)
Non-ISO IN Endpoints Threshold Enable. (NonISOThrEn)
pub const fn isothren(&self) -> bool
pub const fn set_isothren(&mut self, val: bool)
Sourcepub const fn set_txthrlen(&mut self, val: u16)
pub const fn set_txthrlen(&mut self, val: u16)
Transmit Threshold Length (TxThrLen)
Sourcepub const fn ahbthrratio(&self) -> Ahbthrratio
pub const fn ahbthrratio(&self) -> Ahbthrratio
AHB Threshold Ratio (AHBThrRatio)
Sourcepub const fn set_ahbthrratio(&mut self, val: Ahbthrratio)
pub const fn set_ahbthrratio(&mut self, val: Ahbthrratio)
AHB Threshold Ratio (AHBThrRatio)
Sourcepub const fn set_rxthren(&mut self, val: bool)
pub const fn set_rxthren(&mut self, val: bool)
Receive Threshold Enable (RxThrEn)
Sourcepub const fn set_rxthrlen(&mut self, val: u16)
pub const fn set_rxthrlen(&mut self, val: u16)
Receive Threshold Length (RxThrLen)
Sourcepub const fn set_arbprken(&mut self, val: bool)
pub const fn set_arbprken(&mut self, val: bool)
Arbiter Parking Enable (ArbPrkEn)
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 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
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)