Struct atsame70n21b::usbhs::devisr::R

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

Register DEVISR reader

Implementations§

source§

impl R

source

pub fn susp(&self) -> SUSP_R

Bit 0 - Suspend Interrupt

source

pub fn msof(&self) -> MSOF_R

Bit 1 - Micro Start of Frame Interrupt

source

pub fn sof(&self) -> SOF_R

Bit 2 - Start of Frame Interrupt

source

pub fn eorst(&self) -> EORST_R

Bit 3 - End of Reset Interrupt

source

pub fn wakeup(&self) -> WAKEUP_R

Bit 4 - Wake-Up Interrupt

source

pub fn eorsm(&self) -> EORSM_R

Bit 5 - End of Resume Interrupt

source

pub fn uprsm(&self) -> UPRSM_R

Bit 6 - Upstream Resume Interrupt

source

pub fn pep_0(&self) -> PEP_0_R

Bit 12 - Endpoint 0 Interrupt

source

pub fn pep_1(&self) -> PEP_1_R

Bit 13 - Endpoint 1 Interrupt

source

pub fn pep_2(&self) -> PEP_2_R

Bit 14 - Endpoint 2 Interrupt

source

pub fn pep_3(&self) -> PEP_3_R

Bit 15 - Endpoint 3 Interrupt

source

pub fn pep_4(&self) -> PEP_4_R

Bit 16 - Endpoint 4 Interrupt

source

pub fn pep_5(&self) -> PEP_5_R

Bit 17 - Endpoint 5 Interrupt

source

pub fn pep_6(&self) -> PEP_6_R

Bit 18 - Endpoint 6 Interrupt

source

pub fn pep_7(&self) -> PEP_7_R

Bit 19 - Endpoint 7 Interrupt

source

pub fn pep_8(&self) -> PEP_8_R

Bit 20 - Endpoint 8 Interrupt

source

pub fn pep_9(&self) -> PEP_9_R

Bit 21 - Endpoint 9 Interrupt

source

pub fn dma_1(&self) -> DMA_1_R

Bit 25 - DMA Channel 1 Interrupt

source

pub fn dma_2(&self) -> DMA_2_R

Bit 26 - DMA Channel 2 Interrupt

source

pub fn dma_3(&self) -> DMA_3_R

Bit 27 - DMA Channel 3 Interrupt

source

pub fn dma_4(&self) -> DMA_4_R

Bit 28 - DMA Channel 4 Interrupt

source

pub fn dma_5(&self) -> DMA_5_R

Bit 29 - DMA Channel 5 Interrupt

source

pub fn dma_6(&self) -> DMA_6_R

Bit 30 - DMA Channel 6 Interrupt

source

pub fn dma_7(&self) -> DMA_7_R

Bit 31 - DMA Channel 7 Interrupt

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<DEVISR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<DEVISR_SPEC>> for R

source§

fn from(original: R<DEVISR_SPEC>) -> R

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 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<T, U> TryFrom<U> for T
where 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 T
where 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.