#[repr(C)]
pub struct DEVICE {
Show 22 fields pub ctrla: Reg<CTRLA_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub qosctrl: Reg<QOSCTRL_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub dadd: Reg<DADD_SPEC>, pub status: Reg<STATUS_SPEC>, pub fsmstatus: Reg<FSMSTATUS_SPEC>, pub fnum: Reg<FNUM_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub epintsmry: Reg<EPINTSMRY_SPEC>, pub descadd: Reg<DESCADD_SPEC>, pub padcal: Reg<PADCAL_SPEC>, 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, /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

syncbusy: Reg<SYNCBUSY_SPEC>

0x02 - Synchronization Busy

qosctrl: Reg<QOSCTRL_SPEC>

0x03 - USB Quality Of Service

ctrlb: Reg<CTRLB_SPEC>

0x08 - DEVICE Control B

dadd: Reg<DADD_SPEC>

0x0a - DEVICE Device Address

status: Reg<STATUS_SPEC>

0x0c - DEVICE Status

fsmstatus: Reg<FSMSTATUS_SPEC>

0x0d - Finite State Machine Status

fnum: Reg<FNUM_SPEC>

0x10 - DEVICE Device Frame Number

intenclr: Reg<INTENCLR_SPEC>

0x14 - DEVICE Device Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x18 - DEVICE Device Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x1c - DEVICE Device Interrupt Flag

epintsmry: Reg<EPINTSMRY_SPEC>

0x20 - DEVICE End Point Interrupt Summary

descadd: Reg<DESCADD_SPEC>

0x24 - Descriptor Address

padcal: Reg<PADCAL_SPEC>

0x28 - USB PAD Calibration

device_endpoint0: DEVICE_ENDPOINT

0x100..0x10a - DEVICE_ENDPOINT[%s]

device_endpoint1: DEVICE_ENDPOINT

0x120..0x12a - DEVICE_ENDPOINT[%s]

device_endpoint2: DEVICE_ENDPOINT

0x140..0x14a - DEVICE_ENDPOINT[%s]

device_endpoint3: DEVICE_ENDPOINT

0x160..0x16a - DEVICE_ENDPOINT[%s]

device_endpoint4: DEVICE_ENDPOINT

0x180..0x18a - DEVICE_ENDPOINT[%s]

device_endpoint5: DEVICE_ENDPOINT

0x1a0..0x1aa - DEVICE_ENDPOINT[%s]

device_endpoint6: DEVICE_ENDPOINT

0x1c0..0x1ca - DEVICE_ENDPOINT[%s]

device_endpoint7: DEVICE_ENDPOINT

0x1e0..0x1ea - DEVICE_ENDPOINT[%s]

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.