R

Struct R 

Source
pub struct R(/* private fields */);
Expand description

Register GOTGCTL reader

Implementations§

Source§

impl R

Source

pub fn sesreqscs(&self) -> SESREQSCS_R

Bit 0 - Session Request Success device only

Source

pub fn sesreq(&self) -> SESREQ_R

Bit 1 - Session Request device only

Source

pub fn vbvalidoven(&self) -> VBVALIDOVEN_R

Bit 2 - VBUS-Valid Override Enable

Source

pub fn vbvalidovval(&self) -> VBVALIDOVVAL_R

Bit 3 - VBUS Valid Override Value

Source

pub fn bvalidoven(&self) -> BVALIDOVEN_R

Bit 4 - BValid Override Enable

Source

pub fn bvalidovval(&self) -> BVALIDOVVAL_R

Bit 5 - Bvalid Override Value

Source

pub fn avalidoven(&self) -> AVALIDOVEN_R

Bit 6 - AValid Override Enable

Source

pub fn avalidovval(&self) -> AVALIDOVVAL_R

Bit 7 - Avalid Override Value

Source

pub fn hstnegscs(&self) -> HSTNEGSCS_R

Bit 8 - Host Negotiation Success device only

Source

pub fn hnpreq(&self) -> HNPREQ_R

Bit 9 - HNP Request device only

Source

pub fn hstsethnpen(&self) -> HSTSETHNPEN_R

Bit 10 - Host Set HNP Enable host only

Source

pub fn devhnpen(&self) -> DEVHNPEN_R

Bit 11 - Device HNP Enabled device only

Source

pub fn conidsts(&self) -> CONIDSTS_R

Bit 16 - Connector ID Status host and device

Source

pub fn dbnctime(&self) -> DBNCTIME_R

Bit 17 - Long/Short Debounce Time host only

Source

pub fn asesvld(&self) -> ASESVLD_R

Bit 18 - A-Session Valid host only

Source

pub fn bsesvld(&self) -> BSESVLD_R

Bit 19 - B-Session Valid device only

Source

pub fn otgver(&self) -> OTGVER_R

Bit 20 - OTG Version

Methods from Deref<Target = R<GOTGCTL_SPEC>>§

Source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<GOTGCTL_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl From<R<GOTGCTL_SPEC>> for R

Source§

fn from(reader: R<GOTGCTL_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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> 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.