[]Struct sodaq_one::usb::device::epintenset::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u8

Value of the register as raw bits

pub fn trcpt0(&self) -> TRCPT0R

Bit 0 - Transfer Complete 0 Interrupt Enable

pub fn trcpt1(&self) -> TRCPT1R

Bit 1 - Transfer Complete 1 Interrupt Enable

pub fn trfail0(&self) -> TRFAIL0R

Bit 2 - Error Flow 0 Interrupt Enable

pub fn trfail1(&self) -> TRFAIL1R

Bit 3 - Error Flow 1 Interrupt Enable

pub fn rxstp(&self) -> RXSTPR

Bit 4 - Received Setup Interrupt Enable

pub fn stall0(&self) -> STALL0R

Bit 5 - Stall 0 In/out Interrupt enable

pub fn stall1(&self) -> STALL1R

Bit 6 - Stall 1 In/out Interrupt enable

Auto Trait Implementations

impl Unpin for R

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self