[][src]Struct xmc4200::usb0_ep1::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub diepint: DIEPINT,
    pub dieptsiz: DIEPTSIZ,
    pub diepdma: DIEPDMA,
    pub dtxfsts: DTXFSTS,
    pub diepdmab: DIEPDMAB,
    pub doepint: DOEPINT,
    pub doepdma: DOEPDMA,
    pub doepdmab: DOEPDMAB,
    // some fields omitted
}

Register block

Fields

diepint: DIEPINT

0x08 - Device Endpoint Interrupt Register

dieptsiz: DIEPTSIZ

0x10 - Device Endpoint Transfer Size Register

diepdma: DIEPDMA

0x14 - Device Endpoint DMA Address Register

dtxfsts: DTXFSTS

0x18 - Device IN Endpoint Transmit FIFO Status Register

diepdmab: DIEPDMAB

0x1c - Device Endpoint DMA Buffer Address Register

doepint: DOEPINT

0x208 - Device Endpoint Interrupt Register

doepdma: DOEPDMA

0x214 - Device Endpoint DMA Address Register

doepdmab: DOEPDMAB

0x21c - Device Endpoint DMA Buffer Address Register

Implementations

impl RegisterBlock[src]

pub fn diepctl_intbulk(&self) -> &DIEPCTL_INTBULK[src]

0x00 - Device Endpoint Control Register [INTBULK]

pub fn diepctl_intbulk_mut(&self) -> &mut DIEPCTL_INTBULK[src]

0x00 - Device Endpoint Control Register [INTBULK]

pub fn diepctl_isocont(&self) -> &DIEPCTL_ISOCONT[src]

0x00 - Device Endpoint Control Register [ISOCONT]

pub fn diepctl_isocont_mut(&self) -> &mut DIEPCTL_ISOCONT[src]

0x00 - Device Endpoint Control Register [ISOCONT]

pub fn doepctl_intbulk(&self) -> &DOEPCTL_INTBULK[src]

0x200 - Device Endpoint Control Register [INTBULK]

pub fn doepctl_intbulk_mut(&self) -> &mut DOEPCTL_INTBULK[src]

0x200 - Device Endpoint Control Register [INTBULK]

pub fn doepctl_isocont(&self) -> &DOEPCTL_ISOCONT[src]

0x200 - Device Endpoint Control Register [ISOCONT]

pub fn doepctl_isocont_mut(&self) -> &mut DOEPCTL_ISOCONT[src]

0x200 - Device Endpoint Control Register [ISOCONT]

pub fn doeptsiz_control(&self) -> &DOEPTSIZ_CONTROL[src]

0x210 - Device Endpoint Transfer Size Register [CONT]

pub fn doeptsiz_control_mut(&self) -> &mut DOEPTSIZ_CONTROL[src]

0x210 - Device Endpoint Transfer Size Register [CONT]

pub fn doeptsiz_iso(&self) -> &DOEPTSIZ_ISO[src]

0x210 - Device Endpoint Transfer Size Register [ISO]

pub fn doeptsiz_iso_mut(&self) -> &mut DOEPTSIZ_ISO[src]

0x210 - Device Endpoint Transfer Size Register [ISO]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.