pub struct W(_);
Expand description

Register GINTEN writer

Implementations§

source§

impl W

source

pub fn mfie(&mut self) -> MFIE_W<'_, 1>

Bit 1 - Mode fault interrupt enable

source

pub fn otgie(&mut self) -> OTGIE_W<'_, 2>

Bit 2 - OTG interrupt enable

source

pub fn sofie(&mut self) -> SOFIE_W<'_, 3>

Bit 3 - Start of frame interrupt enable

source

pub fn rxfneie(&mut self) -> RXFNEIE_W<'_, 4>

Bit 4 - Receive FIFO non-empty interrupt enable

source

pub fn nptxfeie(&mut self) -> NPTXFEIE_W<'_, 5>

Bit 5 - Non-periodic TxFIFO empty interrupt enable

source

pub fn gnpinakie(&mut self) -> GNPINAKIE_W<'_, 6>

Bit 6 - Global non-periodic IN NAK effective interrupt enable

source

pub fn gonakie(&mut self) -> GONAKIE_W<'_, 7>

Bit 7 - Global OUT NAK effective interrupt enable

source

pub fn espie(&mut self) -> ESPIE_W<'_, 10>

Bit 10 - Early suspend interrupt enable

source

pub fn spie(&mut self) -> SPIE_W<'_, 11>

Bit 11 - USB suspend interrupt enable

source

pub fn rstie(&mut self) -> RSTIE_W<'_, 12>

Bit 12 - USB reset interrupt enable

source

pub fn enumfie(&mut self) -> ENUMFIE_W<'_, 13>

Bit 13 - Enumeration finish interrupt enable

source

pub fn isoopdie(&mut self) -> ISOOPDIE_W<'_, 14>

Bit 14 - Isochronous OUT packet dropped interrupt enable

source

pub fn eopfie(&mut self) -> EOPFIE_W<'_, 15>

Bit 15 - End of periodic frame interrupt enable

source

pub fn iepie(&mut self) -> IEPIE_W<'_, 18>

Bit 18 - IN endpoints interrupt enable

source

pub fn oepie(&mut self) -> OEPIE_W<'_, 19>

Bit 19 - OUT endpoints interrupt enable

source

pub fn isoincie(&mut self) -> ISOINCIE_W<'_, 20>

Bit 20 - isochronous IN transfer not complete interrupt enable

source

pub fn pxncie_isooncie(&mut self) -> PXNCIE_ISOONCIE_W<'_, 21>

Bit 21 - periodic transfer not compelete Interrupt enable(Host mode)/isochronous OUT transfer not complete interrupt enable(Device mode)

source

pub fn hcie(&mut self) -> HCIE_W<'_, 25>

Bit 25 - Host channels interrupt enable

source

pub fn ptxfeie(&mut self) -> PTXFEIE_W<'_, 26>

Bit 26 - Periodic TxFIFO empty interrupt enable

source

pub fn idpscie(&mut self) -> IDPSCIE_W<'_, 28>

Bit 28 - ID pin status change interrupt enable

source

pub fn discie(&mut self) -> DISCIE_W<'_, 29>

Bit 29 - Disconnect interrupt enable

source

pub fn sesie(&mut self) -> SESIE_W<'_, 30>

Bit 30 - Session interrupt enable

source

pub fn wkupie(&mut self) -> WKUPIE_W<'_, 31>

Bit 31 - Wakeup interrupt enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<GINTEN_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<GINTEN_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<GINTEN_SPEC>> for W

source§

fn from(writer: W<GINTEN_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.