#[repr(transparent)]pub struct Dcfg(pub u32);Expand description
Device Configuration Register
Tuple Fields§
§0: u32Implementations§
Source§impl Dcfg
impl Dcfg
Sourcepub const fn set_devspd(&mut self, val: Devspd)
pub const fn set_devspd(&mut self, val: Devspd)
Device Speed (DevSpd)
Sourcepub const fn nzstsouthshk(&self) -> Nzstsouthshk
pub const fn nzstsouthshk(&self) -> Nzstsouthshk
Non-Zero-Length Status OUT Handshake (NZStsOUTHShk)
Sourcepub const fn set_nzstsouthshk(&mut self, val: Nzstsouthshk)
pub const fn set_nzstsouthshk(&mut self, val: Nzstsouthshk)
Non-Zero-Length Status OUT Handshake (NZStsOUTHShk)
Sourcepub const fn ena32khzsusp(&self) -> bool
pub const fn ena32khzsusp(&self) -> bool
Enable 32 KHz Suspend mode (Ena32KHzSusp)
Sourcepub const fn set_ena32khzsusp(&mut self, val: bool)
pub const fn set_ena32khzsusp(&mut self, val: bool)
Enable 32 KHz Suspend mode (Ena32KHzSusp)
Sourcepub const fn set_devaddr(&mut self, val: u8)
pub const fn set_devaddr(&mut self, val: u8)
Device Address (DevAddr)
Sourcepub const fn set_perfrint(&mut self, val: Perfrint)
pub const fn set_perfrint(&mut self, val: Perfrint)
Periodic Frame Interval (PerFrInt)
Sourcepub const fn set_xcvrdly(&mut self, val: bool)
pub const fn set_xcvrdly(&mut self, val: bool)
XCVRDLY
Sourcepub const fn erraticintmsk(&self) -> bool
pub const fn erraticintmsk(&self) -> bool
Erratic Error Interrupt Mask
Sourcepub const fn set_erraticintmsk(&mut self, val: bool)
pub const fn set_erraticintmsk(&mut self, val: bool)
Erratic Error Interrupt Mask
Sourcepub const fn ipgisocsupt(&self) -> bool
pub const fn ipgisocsupt(&self) -> bool
Worst-Case Inter-Packet Gap ISOC OUT Support (ipgisocSupt)
Sourcepub const fn set_ipgisocsupt(&mut self, val: bool)
pub const fn set_ipgisocsupt(&mut self, val: bool)
Worst-Case Inter-Packet Gap ISOC OUT Support (ipgisocSupt)
Sourcepub const fn perschintvl(&self) -> Perschintvl
pub const fn perschintvl(&self) -> Perschintvl
Periodic Scheduling Interval (PerSchIntvl)
Sourcepub const fn set_perschintvl(&mut self, val: Perschintvl)
pub const fn set_perschintvl(&mut self, val: Perschintvl)
Periodic Scheduling Interval (PerSchIntvl)
Sourcepub const fn set_resvalid(&mut self, val: u8)
pub const fn set_resvalid(&mut self, val: u8)
Resume Validation Period (ResValid)
Trait Implementations§
impl Copy for Dcfg
impl Eq for Dcfg
impl StructuralPartialEq for Dcfg
Auto Trait Implementations§
impl Freeze for Dcfg
impl RefUnwindSafe for Dcfg
impl Send for Dcfg
impl Sync for Dcfg
impl Unpin for Dcfg
impl UnwindSafe for Dcfg
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)