Struct atsame54n19a_pac::usb::DEVICE[][src]

#[repr(C)]pub struct DEVICE {
    pub ctrla: CTRLA,
    pub syncbusy: SYNCBUSY,
    pub qosctrl: QOSCTRL,
    pub ctrlb: CTRLB,
    pub dadd: DADD,
    pub status: STATUS,
    pub fsmstatus: FSMSTATUS,
    pub fnum: FNUM,
    pub intenclr: INTENCLR,
    pub intenset: INTENSET,
    pub intflag: INTFLAG,
    pub epintsmry: EPINTSMRY,
    pub descadd: DESCADD,
    pub padcal: PADCAL,
    pub device_endpoint0: DEVICE_ENDPOINT,
    pub device_endpoint1: DEVICE_ENDPOINT,
    pub device_endpoint2: DEVICE_ENDPOINT,
    pub device_endpoint3: DEVICE_ENDPOINT,
    pub device_endpoint4: DEVICE_ENDPOINT,
    pub device_endpoint5: DEVICE_ENDPOINT,
    pub device_endpoint6: DEVICE_ENDPOINT,
    pub device_endpoint7: DEVICE_ENDPOINT,
    // some fields omitted
}

Register block

Fields

ctrla: CTRLA

0x00 - Control A

syncbusy: SYNCBUSY

0x02 - Synchronization Busy

qosctrl: QOSCTRL

0x03 - USB Quality Of Service

ctrlb: CTRLB

0x08 - DEVICE Control B

dadd: DADD

0x0a - DEVICE Device Address

status: STATUS

0x0c - DEVICE Status

fsmstatus: FSMSTATUS

0x0d - Finite State Machine Status

fnum: FNUM

0x10 - DEVICE Device Frame Number

intenclr: INTENCLR

0x14 - DEVICE Device Interrupt Enable Clear

intenset: INTENSET

0x18 - DEVICE Device Interrupt Enable Set

intflag: INTFLAG

0x1c - DEVICE Device Interrupt Flag

epintsmry: EPINTSMRY

0x20 - DEVICE End Point Interrupt Summary

descadd: DESCADD

0x24 - Descriptor Address

padcal: PADCAL

0x28 - USB PAD Calibration

device_endpoint0: DEVICE_ENDPOINT

0x100 - DEVICE_ENDPOINT[%s]

device_endpoint1: DEVICE_ENDPOINT

0x120 - DEVICE_ENDPOINT[%s]

device_endpoint2: DEVICE_ENDPOINT

0x140 - DEVICE_ENDPOINT[%s]

device_endpoint3: DEVICE_ENDPOINT

0x160 - DEVICE_ENDPOINT[%s]

device_endpoint4: DEVICE_ENDPOINT

0x180 - DEVICE_ENDPOINT[%s]

device_endpoint5: DEVICE_ENDPOINT

0x1a0 - DEVICE_ENDPOINT[%s]

device_endpoint6: DEVICE_ENDPOINT

0x1c0 - DEVICE_ENDPOINT[%s]

device_endpoint7: DEVICE_ENDPOINT

0x1e0 - DEVICE_ENDPOINT[%s]

Auto Trait Implementations

impl Send for DEVICE

impl !Sync for DEVICE

impl Unpin for DEVICE

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.