#[repr(transparent)]pub struct Dctl(pub u32);Expand description
Device Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Dctl
impl Dctl
Sourcepub const fn rmtwkupsig(&self) -> Rmtwkupsig
pub const fn rmtwkupsig(&self) -> Rmtwkupsig
Remote Wakeup Signaling (RmtWkUpSig)
Sourcepub const fn set_rmtwkupsig(&mut self, val: Rmtwkupsig)
pub const fn set_rmtwkupsig(&mut self, val: Rmtwkupsig)
Remote Wakeup Signaling (RmtWkUpSig)
Sourcepub const fn set_sftdiscon(&mut self, val: bool)
pub const fn set_sftdiscon(&mut self, val: bool)
Soft Disconnect (SftDiscon)
Sourcepub const fn gnpinnaksts(&self) -> bool
pub const fn gnpinnaksts(&self) -> bool
Global Non-periodic IN NAK Status (GNPINNakSts)
Sourcepub const fn set_gnpinnaksts(&mut self, val: bool)
pub const fn set_gnpinnaksts(&mut self, val: bool)
Global Non-periodic IN NAK Status (GNPINNakSts)
Sourcepub const fn goutnaksts(&self) -> bool
pub const fn goutnaksts(&self) -> bool
Global OUT NAK Status (GOUTNakSts)
Sourcepub const fn set_goutnaksts(&mut self, val: bool)
pub const fn set_goutnaksts(&mut self, val: bool)
Global OUT NAK Status (GOUTNakSts)
Sourcepub const fn set_tstctl(&mut self, val: Tstctl)
pub const fn set_tstctl(&mut self, val: Tstctl)
Test Control (TstCtl)
Sourcepub const fn set_sgnpinnak(&mut self, val: bool)
pub const fn set_sgnpinnak(&mut self, val: bool)
Set Global Non-periodic IN NAK (SGNPInNak)
Sourcepub const fn set_cgnpinnak(&mut self, val: bool)
pub const fn set_cgnpinnak(&mut self, val: bool)
Clear Global Non-periodic IN NAK (CGNPInNak)
Sourcepub const fn set_sgoutnak(&mut self, val: bool)
pub const fn set_sgoutnak(&mut self, val: bool)
Set Global OUT NAK (SGOUTNak)
Sourcepub const fn set_cgoutnak(&mut self, val: bool)
pub const fn set_cgoutnak(&mut self, val: bool)
Clear Global OUT NAK (CGOUTNak)
Sourcepub const fn pwronprgdone(&self) -> bool
pub const fn pwronprgdone(&self) -> bool
Power-On Programming Done (PWROnPrgDone)
Sourcepub const fn set_pwronprgdone(&mut self, val: bool)
pub const fn set_pwronprgdone(&mut self, val: bool)
Power-On Programming Done (PWROnPrgDone)
Sourcepub const fn ignrfrmnum(&self) -> bool
pub const fn ignrfrmnum(&self) -> bool
Ignore Frame Number Feature for Isochronous Endpoints (IgnrFrmNum)
Sourcepub const fn set_ignrfrmnum(&mut self, val: bool)
pub const fn set_ignrfrmnum(&mut self, val: bool)
Ignore Frame Number Feature for Isochronous Endpoints (IgnrFrmNum)
Sourcepub const fn set_nakonbble(&mut self, val: bool)
pub const fn set_nakonbble(&mut self, val: bool)
NAK on Babble Error (NakOnBble)
Sourcepub const fn deepsleepbeslreject(&self) -> bool
pub const fn deepsleepbeslreject(&self) -> bool
DeepSleepBESLReject
Sourcepub const fn set_deepsleepbeslreject(&mut self, val: bool)
pub const fn set_deepsleepbeslreject(&mut self, val: bool)
DeepSleepBESLReject
Sourcepub const fn servint(&self) -> bool
pub const fn servint(&self) -> bool
Service Interval based scheduling for Isochronous IN Endpoints
Sourcepub const fn set_servint(&mut self, val: bool)
pub const fn set_servint(&mut self, val: bool)
Service Interval based scheduling for Isochronous IN Endpoints
Sourcepub const fn utmitxvldcorrdis(&self) -> bool
pub const fn utmitxvldcorrdis(&self) -> bool
Disable the correction to OpMode/XcvrSel/TermSel on UTMI Interface.
Sourcepub const fn set_utmitxvldcorrdis(&mut self, val: bool)
pub const fn set_utmitxvldcorrdis(&mut self, val: bool)
Disable the correction to OpMode/XcvrSel/TermSel on UTMI Interface.
Sourcepub const fn utmitermselcorrdis(&self) -> bool
pub const fn utmitermselcorrdis(&self) -> bool
Disable the correction of TermSel on UTMI Interface.
Sourcepub const fn set_utmitermselcorrdis(&mut self, val: bool)
pub const fn set_utmitermselcorrdis(&mut self, val: bool)
Disable the correction of TermSel on UTMI Interface.
Trait Implementations§
impl Copy for Dctl
impl Eq for Dctl
impl StructuralPartialEq for Dctl
Auto Trait Implementations§
impl Freeze for Dctl
impl RefUnwindSafe for Dctl
impl Send for Dctl
impl Sync for Dctl
impl Unpin for Dctl
impl UnwindSafe for Dctl
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
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)
clone_to_uninit)