pub struct R(_);
Expand description

Register UEP2_3_MOD__R8_UH_EP_MOD reader

Implementations§

source§

impl R

source

pub fn uep2_buf_mod__rb_uh_ep_rbuf_mod( &self ) -> UEP2_BUF_MOD__RB_UH_EP_RBUF_MOD_R

Bit 0 - buffer mode of USB endpoint 2;buffer mode of USB host IN endpoint

source

pub fn uep2_tx_en(&self) -> UEP2_TX_EN_R

Bit 2 - enable USB endpoint 2 transmittal (IN)

source

pub fn uep2_rx_en__rb_uh_ep_rx_en(&self) -> UEP2_RX_EN__RB_UH_EP_RX_EN_R

Bit 3 - enable USB endpoint 2 receiving (OUT);enable USB host IN endpoint receiving

source

pub fn uep3_buf_mod__rb_uh_ep_tbuf_mod( &self ) -> UEP3_BUF_MOD__RB_UH_EP_TBUF_MOD_R

Bit 4 - buffer mode of USB endpoint 3;buffer mode of USB host OUT endpoint

source

pub fn uep3_tx_en__rb_uh_ep_tx_en(&self) -> UEP3_TX_EN__RB_UH_EP_TX_EN_R

Bit 6 - enable USB endpoint 3 transmittal (IN);enable USB host OUT endpoint transmittal

source

pub fn uep3_rx_en(&self) -> UEP3_RX_EN_R

Bit 7 - enable USB endpoint 3 receiving (OUT)

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<UEP2_3_MOD__R8_UH_EP_MOD_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<UEP2_3_MOD__R8_UH_EP_MOD_SPEC>> for R

source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.