nrf-pac

Crates

git

Versions

nrf54lm20a-flpr

Flavors

nrf_pac::usbhscore::regs

Struct Dctl

Source
#[repr(transparent)]
pub struct Dctl(pub u32);
Expand description

Device Control Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Dctl

Source

pub const fn rmtwkupsig(&self) -> Rmtwkupsig

Remote Wakeup Signaling (RmtWkUpSig)

Source

pub const fn set_rmtwkupsig(&mut self, val: Rmtwkupsig)

Remote Wakeup Signaling (RmtWkUpSig)

Source

pub const fn sftdiscon(&self) -> bool

Soft Disconnect (SftDiscon)

Source

pub const fn set_sftdiscon(&mut self, val: bool)

Soft Disconnect (SftDiscon)

Source

pub const fn gnpinnaksts(&self) -> bool

Global Non-periodic IN NAK Status (GNPINNakSts)

Source

pub const fn set_gnpinnaksts(&mut self, val: bool)

Global Non-periodic IN NAK Status (GNPINNakSts)

Source

pub const fn goutnaksts(&self) -> bool

Global OUT NAK Status (GOUTNakSts)

Source

pub const fn set_goutnaksts(&mut self, val: bool)

Global OUT NAK Status (GOUTNakSts)

Source

pub const fn tstctl(&self) -> Tstctl

Test Control (TstCtl)

Source

pub const fn set_tstctl(&mut self, val: Tstctl)

Test Control (TstCtl)

Source

pub const fn sgnpinnak(&self) -> bool

Set Global Non-periodic IN NAK (SGNPInNak)

Source

pub const fn set_sgnpinnak(&mut self, val: bool)

Set Global Non-periodic IN NAK (SGNPInNak)

Source

pub const fn cgnpinnak(&self) -> bool

Clear Global Non-periodic IN NAK (CGNPInNak)

Source

pub const fn set_cgnpinnak(&mut self, val: bool)

Clear Global Non-periodic IN NAK (CGNPInNak)

Source

pub const fn sgoutnak(&self) -> bool

Set Global OUT NAK (SGOUTNak)

Source

pub const fn set_sgoutnak(&mut self, val: bool)

Set Global OUT NAK (SGOUTNak)

Source

pub const fn cgoutnak(&self) -> bool

Clear Global OUT NAK (CGOUTNak)

Source

pub const fn set_cgoutnak(&mut self, val: bool)

Clear Global OUT NAK (CGOUTNak)

Source

pub const fn pwronprgdone(&self) -> bool

Power-On Programming Done (PWROnPrgDone)

Source

pub const fn set_pwronprgdone(&mut self, val: bool)

Power-On Programming Done (PWROnPrgDone)

Source

pub const fn ignrfrmnum(&self) -> bool

Ignore Frame Number Feature for Isochronous Endpoints (IgnrFrmNum)

Source

pub const fn set_ignrfrmnum(&mut self, val: bool)

Ignore Frame Number Feature for Isochronous Endpoints (IgnrFrmNum)

Source

pub const fn nakonbble(&self) -> bool

NAK on Babble Error (NakOnBble)

Source

pub const fn set_nakonbble(&mut self, val: bool)

NAK on Babble Error (NakOnBble)

Source

pub const fn deepsleepbeslreject(&self) -> bool

DeepSleepBESLReject

Source

pub const fn set_deepsleepbeslreject(&mut self, val: bool)

DeepSleepBESLReject

Source

pub const fn servint(&self) -> bool

Service Interval based scheduling for Isochronous IN Endpoints

Source

pub const fn set_servint(&mut self, val: bool)

Service Interval based scheduling for Isochronous IN Endpoints

Source

pub const fn utmitxvldcorrdis(&self) -> bool

Disable the correction to OpMode/XcvrSel/TermSel on UTMI Interface.

Source

pub const fn set_utmitxvldcorrdis(&mut self, val: bool)

Disable the correction to OpMode/XcvrSel/TermSel on UTMI Interface.

Source

pub const fn utmitermselcorrdis(&self) -> bool

Disable the correction of TermSel on UTMI Interface.

Source

pub const fn set_utmitermselcorrdis(&mut self, val: bool)

Disable the correction of TermSel on UTMI Interface.

Trait Implementations§

Source§

impl Clone for Dctl

Source§

fn clone(&self) -> Dctl

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Dctl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Dctl

Source§

fn default() -> Dctl

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Dctl

Source§

fn eq(&self, other: &Dctl) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Dctl

Source§

impl Eq for Dctl

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.