Struct atsam4sa16b_pac::udp::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub frm_num: FRM_NUM,
    pub glb_stat: GLB_STAT,
    pub faddr: FADDR,
    pub ier: IER,
    pub idr: IDR,
    pub imr: IMR,
    pub isr: ISR,
    pub icr: ICR,
    pub rst_ep: RST_EP,
    pub fdr: [FDR; 8],
    pub txvc: TXVC,
    // some fields omitted
}

Register block

Fields

frm_num: FRM_NUM

0x00 - Frame Number Register

glb_stat: GLB_STAT

0x04 - Global State Register

faddr: FADDR

0x08 - Function Address Register

ier: IER

0x10 - Interrupt Enable Register

idr: IDR

0x14 - Interrupt Disable Register

imr: IMR

0x18 - Interrupt Mask Register

isr: ISR

0x1c - Interrupt Status Register

icr: ICR

0x20 - Interrupt Clear Register

rst_ep: RST_EP

0x28 - Reset Endpoint Register

fdr: [FDR; 8]

0x50 - Endpoint FIFO Data Register

txvc: TXVC

0x74 - Transceiver Control Register

Implementations

impl RegisterBlock[src]

pub fn csr0_isochronous(&self) -> &CSR0_ISOCHRONOUS[src]

0x30 - Endpoint Control and Status Register

pub fn csr0_isochronous_mut(&self) -> &mut CSR0_ISOCHRONOUS[src]

0x30 - Endpoint Control and Status Register

pub fn csr(&self) -> &[CSR; 8][src]

0x30 - Endpoint Control and Status Register

pub fn csr_mut(&self) -> &mut [CSR; 8][src]

0x30 - Endpoint Control and Status Register

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.