#[repr(C)]
pub struct DEVICE {
Show 70 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 epcfg0: Reg<EPCFG_SPEC>, pub epstatusclr0: Reg<EPSTATUSCLR_SPEC>, pub epstatusset0: Reg<EPSTATUSSET_SPEC>, pub epstatus0: Reg<EPSTATUS_SPEC>, pub epintflag0: Reg<EPINTFLAG_SPEC>, pub epintenclr0: Reg<EPINTENCLR_SPEC>, pub epintenset0: Reg<EPINTENSET_SPEC>, pub epcfg1: Reg<EPCFG_SPEC>, pub epstatusclr1: Reg<EPSTATUSCLR_SPEC>, pub epstatusset1: Reg<EPSTATUSSET_SPEC>, pub epstatus1: Reg<EPSTATUS_SPEC>, pub epintflag1: Reg<EPINTFLAG_SPEC>, pub epintenclr1: Reg<EPINTENCLR_SPEC>, pub epintenset1: Reg<EPINTENSET_SPEC>, pub epcfg2: Reg<EPCFG_SPEC>, pub epstatusclr2: Reg<EPSTATUSCLR_SPEC>, pub epstatusset2: Reg<EPSTATUSSET_SPEC>, pub epstatus2: Reg<EPSTATUS_SPEC>, pub epintflag2: Reg<EPINTFLAG_SPEC>, pub epintenclr2: Reg<EPINTENCLR_SPEC>, pub epintenset2: Reg<EPINTENSET_SPEC>, pub epcfg3: Reg<EPCFG_SPEC>, pub epstatusclr3: Reg<EPSTATUSCLR_SPEC>, pub epstatusset3: Reg<EPSTATUSSET_SPEC>, pub epstatus3: Reg<EPSTATUS_SPEC>, pub epintflag3: Reg<EPINTFLAG_SPEC>, pub epintenclr3: Reg<EPINTENCLR_SPEC>, pub epintenset3: Reg<EPINTENSET_SPEC>, pub epcfg4: Reg<EPCFG_SPEC>, pub epstatusclr4: Reg<EPSTATUSCLR_SPEC>, pub epstatusset4: Reg<EPSTATUSSET_SPEC>, pub epstatus4: Reg<EPSTATUS_SPEC>, pub epintflag4: Reg<EPINTFLAG_SPEC>, pub epintenclr4: Reg<EPINTENCLR_SPEC>, pub epintenset4: Reg<EPINTENSET_SPEC>, pub epcfg5: Reg<EPCFG_SPEC>, pub epstatusclr5: Reg<EPSTATUSCLR_SPEC>, pub epstatusset5: Reg<EPSTATUSSET_SPEC>, pub epstatus5: Reg<EPSTATUS_SPEC>, pub epintflag5: Reg<EPINTFLAG_SPEC>, pub epintenclr5: Reg<EPINTENCLR_SPEC>, pub epintenset5: Reg<EPINTENSET_SPEC>, pub epcfg6: Reg<EPCFG_SPEC>, pub epstatusclr6: Reg<EPSTATUSCLR_SPEC>, pub epstatusset6: Reg<EPSTATUSSET_SPEC>, pub epstatus6: Reg<EPSTATUS_SPEC>, pub epintflag6: Reg<EPINTFLAG_SPEC>, pub epintenclr6: Reg<EPINTENCLR_SPEC>, pub epintenset6: Reg<EPINTENSET_SPEC>, pub epcfg7: Reg<EPCFG_SPEC>, pub epstatusclr7: Reg<EPSTATUSCLR_SPEC>, pub epstatusset7: Reg<EPSTATUSSET_SPEC>, pub epstatus7: Reg<EPSTATUS_SPEC>, pub epintflag7: Reg<EPINTFLAG_SPEC>, pub epintenclr7: Reg<EPINTENCLR_SPEC>, pub epintenset7: Reg<EPINTENSET_SPEC>, /* 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

epcfg0: Reg<EPCFG_SPEC>

0x100 - DEVICE End Point Configuration

epstatusclr0: Reg<EPSTATUSCLR_SPEC>

0x104 - DEVICE End Point Pipe Status Clear

epstatusset0: Reg<EPSTATUSSET_SPEC>

0x105 - DEVICE End Point Pipe Status Set

epstatus0: Reg<EPSTATUS_SPEC>

0x106 - DEVICE End Point Pipe Status

epintflag0: Reg<EPINTFLAG_SPEC>

0x107 - DEVICE End Point Interrupt Flag

epintenclr0: Reg<EPINTENCLR_SPEC>

0x108 - DEVICE End Point Interrupt Clear Flag

epintenset0: Reg<EPINTENSET_SPEC>

0x109 - DEVICE End Point Interrupt Set Flag

epcfg1: Reg<EPCFG_SPEC>

0x120 - DEVICE End Point Configuration

epstatusclr1: Reg<EPSTATUSCLR_SPEC>

0x124 - DEVICE End Point Pipe Status Clear

epstatusset1: Reg<EPSTATUSSET_SPEC>

0x125 - DEVICE End Point Pipe Status Set

epstatus1: Reg<EPSTATUS_SPEC>

0x126 - DEVICE End Point Pipe Status

epintflag1: Reg<EPINTFLAG_SPEC>

0x127 - DEVICE End Point Interrupt Flag

epintenclr1: Reg<EPINTENCLR_SPEC>

0x128 - DEVICE End Point Interrupt Clear Flag

epintenset1: Reg<EPINTENSET_SPEC>

0x129 - DEVICE End Point Interrupt Set Flag

epcfg2: Reg<EPCFG_SPEC>

0x140 - DEVICE End Point Configuration

epstatusclr2: Reg<EPSTATUSCLR_SPEC>

0x144 - DEVICE End Point Pipe Status Clear

epstatusset2: Reg<EPSTATUSSET_SPEC>

0x145 - DEVICE End Point Pipe Status Set

epstatus2: Reg<EPSTATUS_SPEC>

0x146 - DEVICE End Point Pipe Status

epintflag2: Reg<EPINTFLAG_SPEC>

0x147 - DEVICE End Point Interrupt Flag

epintenclr2: Reg<EPINTENCLR_SPEC>

0x148 - DEVICE End Point Interrupt Clear Flag

epintenset2: Reg<EPINTENSET_SPEC>

0x149 - DEVICE End Point Interrupt Set Flag

epcfg3: Reg<EPCFG_SPEC>

0x160 - DEVICE End Point Configuration

epstatusclr3: Reg<EPSTATUSCLR_SPEC>

0x164 - DEVICE End Point Pipe Status Clear

epstatusset3: Reg<EPSTATUSSET_SPEC>

0x165 - DEVICE End Point Pipe Status Set

epstatus3: Reg<EPSTATUS_SPEC>

0x166 - DEVICE End Point Pipe Status

epintflag3: Reg<EPINTFLAG_SPEC>

0x167 - DEVICE End Point Interrupt Flag

epintenclr3: Reg<EPINTENCLR_SPEC>

0x168 - DEVICE End Point Interrupt Clear Flag

epintenset3: Reg<EPINTENSET_SPEC>

0x169 - DEVICE End Point Interrupt Set Flag

epcfg4: Reg<EPCFG_SPEC>

0x180 - DEVICE End Point Configuration

epstatusclr4: Reg<EPSTATUSCLR_SPEC>

0x184 - DEVICE End Point Pipe Status Clear

epstatusset4: Reg<EPSTATUSSET_SPEC>

0x185 - DEVICE End Point Pipe Status Set

epstatus4: Reg<EPSTATUS_SPEC>

0x186 - DEVICE End Point Pipe Status

epintflag4: Reg<EPINTFLAG_SPEC>

0x187 - DEVICE End Point Interrupt Flag

epintenclr4: Reg<EPINTENCLR_SPEC>

0x188 - DEVICE End Point Interrupt Clear Flag

epintenset4: Reg<EPINTENSET_SPEC>

0x189 - DEVICE End Point Interrupt Set Flag

epcfg5: Reg<EPCFG_SPEC>

0x1a0 - DEVICE End Point Configuration

epstatusclr5: Reg<EPSTATUSCLR_SPEC>

0x1a4 - DEVICE End Point Pipe Status Clear

epstatusset5: Reg<EPSTATUSSET_SPEC>

0x1a5 - DEVICE End Point Pipe Status Set

epstatus5: Reg<EPSTATUS_SPEC>

0x1a6 - DEVICE End Point Pipe Status

epintflag5: Reg<EPINTFLAG_SPEC>

0x1a7 - DEVICE End Point Interrupt Flag

epintenclr5: Reg<EPINTENCLR_SPEC>

0x1a8 - DEVICE End Point Interrupt Clear Flag

epintenset5: Reg<EPINTENSET_SPEC>

0x1a9 - DEVICE End Point Interrupt Set Flag

epcfg6: Reg<EPCFG_SPEC>

0x1c0 - DEVICE End Point Configuration

epstatusclr6: Reg<EPSTATUSCLR_SPEC>

0x1c4 - DEVICE End Point Pipe Status Clear

epstatusset6: Reg<EPSTATUSSET_SPEC>

0x1c5 - DEVICE End Point Pipe Status Set

epstatus6: Reg<EPSTATUS_SPEC>

0x1c6 - DEVICE End Point Pipe Status

epintflag6: Reg<EPINTFLAG_SPEC>

0x1c7 - DEVICE End Point Interrupt Flag

epintenclr6: Reg<EPINTENCLR_SPEC>

0x1c8 - DEVICE End Point Interrupt Clear Flag

epintenset6: Reg<EPINTENSET_SPEC>

0x1c9 - DEVICE End Point Interrupt Set Flag

epcfg7: Reg<EPCFG_SPEC>

0x1e0 - DEVICE End Point Configuration

epstatusclr7: Reg<EPSTATUSCLR_SPEC>

0x1e4 - DEVICE End Point Pipe Status Clear

epstatusset7: Reg<EPSTATUSSET_SPEC>

0x1e5 - DEVICE End Point Pipe Status Set

epstatus7: Reg<EPSTATUS_SPEC>

0x1e6 - DEVICE End Point Pipe Status

epintflag7: Reg<EPINTFLAG_SPEC>

0x1e7 - DEVICE End Point Interrupt Flag

epintenclr7: Reg<EPINTENCLR_SPEC>

0x1e8 - DEVICE End Point Interrupt Clear Flag

epintenset7: Reg<EPINTENSET_SPEC>

0x1e9 - DEVICE End Point Interrupt Set Flag

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.