Struct atsamd21g18a::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 epcfg0: EPCFG, pub epstatusclr0: EPSTATUSCLR, pub epstatusset0: EPSTATUSSET, pub epstatus0: EPSTATUS, pub epintflag0: EPINTFLAG, pub epintenclr0: EPINTENCLR, pub epintenset0: EPINTENSET, pub epcfg1: EPCFG, pub epstatusclr1: EPSTATUSCLR, pub epstatusset1: EPSTATUSSET, pub epstatus1: EPSTATUS, pub epintflag1: EPINTFLAG, pub epintenclr1: EPINTENCLR, pub epintenset1: EPINTENSET, pub epcfg2: EPCFG, pub epstatusclr2: EPSTATUSCLR, pub epstatusset2: EPSTATUSSET, pub epstatus2: EPSTATUS, pub epintflag2: EPINTFLAG, pub epintenclr2: EPINTENCLR, pub epintenset2: EPINTENSET, pub epcfg3: EPCFG, pub epstatusclr3: EPSTATUSCLR, pub epstatusset3: EPSTATUSSET, pub epstatus3: EPSTATUS, pub epintflag3: EPINTFLAG, pub epintenclr3: EPINTENCLR, pub epintenset3: EPINTENSET, pub epcfg4: EPCFG, pub epstatusclr4: EPSTATUSCLR, pub epstatusset4: EPSTATUSSET, pub epstatus4: EPSTATUS, pub epintflag4: EPINTFLAG, pub epintenclr4: EPINTENCLR, pub epintenset4: EPINTENSET, pub epcfg5: EPCFG, pub epstatusclr5: EPSTATUSCLR, pub epstatusset5: EPSTATUSSET, pub epstatus5: EPSTATUS, pub epintflag5: EPINTFLAG, pub epintenclr5: EPINTENCLR, pub epintenset5: EPINTENSET, pub epcfg6: EPCFG, pub epstatusclr6: EPSTATUSCLR, pub epstatusset6: EPSTATUSSET, pub epstatus6: EPSTATUS, pub epintflag6: EPINTFLAG, pub epintenclr6: EPINTENCLR, pub epintenset6: EPINTENSET, pub epcfg7: EPCFG, pub epstatusclr7: EPSTATUSCLR, pub epstatusset7: EPSTATUSSET, pub epstatus7: EPSTATUS, pub epintflag7: EPINTFLAG, pub epintenclr7: EPINTENCLR, pub epintenset7: EPINTENSET, // 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
epcfg0: EPCFG
0x100 - DEVICE End Point Configuration
epstatusclr0: EPSTATUSCLR
0x104 - DEVICE End Point Pipe Status Clear
epstatusset0: EPSTATUSSET
0x105 - DEVICE End Point Pipe Status Set
epstatus0: EPSTATUS
0x106 - DEVICE End Point Pipe Status
epintflag0: EPINTFLAG
0x107 - DEVICE End Point Interrupt Flag
epintenclr0: EPINTENCLR
0x108 - DEVICE End Point Interrupt Clear Flag
epintenset0: EPINTENSET
0x109 - DEVICE End Point Interrupt Set Flag
epcfg1: EPCFG
0x120 - DEVICE End Point Configuration
epstatusclr1: EPSTATUSCLR
0x124 - DEVICE End Point Pipe Status Clear
epstatusset1: EPSTATUSSET
0x125 - DEVICE End Point Pipe Status Set
epstatus1: EPSTATUS
0x126 - DEVICE End Point Pipe Status
epintflag1: EPINTFLAG
0x127 - DEVICE End Point Interrupt Flag
epintenclr1: EPINTENCLR
0x128 - DEVICE End Point Interrupt Clear Flag
epintenset1: EPINTENSET
0x129 - DEVICE End Point Interrupt Set Flag
epcfg2: EPCFG
0x140 - DEVICE End Point Configuration
epstatusclr2: EPSTATUSCLR
0x144 - DEVICE End Point Pipe Status Clear
epstatusset2: EPSTATUSSET
0x145 - DEVICE End Point Pipe Status Set
epstatus2: EPSTATUS
0x146 - DEVICE End Point Pipe Status
epintflag2: EPINTFLAG
0x147 - DEVICE End Point Interrupt Flag
epintenclr2: EPINTENCLR
0x148 - DEVICE End Point Interrupt Clear Flag
epintenset2: EPINTENSET
0x149 - DEVICE End Point Interrupt Set Flag
epcfg3: EPCFG
0x160 - DEVICE End Point Configuration
epstatusclr3: EPSTATUSCLR
0x164 - DEVICE End Point Pipe Status Clear
epstatusset3: EPSTATUSSET
0x165 - DEVICE End Point Pipe Status Set
epstatus3: EPSTATUS
0x166 - DEVICE End Point Pipe Status
epintflag3: EPINTFLAG
0x167 - DEVICE End Point Interrupt Flag
epintenclr3: EPINTENCLR
0x168 - DEVICE End Point Interrupt Clear Flag
epintenset3: EPINTENSET
0x169 - DEVICE End Point Interrupt Set Flag
epcfg4: EPCFG
0x180 - DEVICE End Point Configuration
epstatusclr4: EPSTATUSCLR
0x184 - DEVICE End Point Pipe Status Clear
epstatusset4: EPSTATUSSET
0x185 - DEVICE End Point Pipe Status Set
epstatus4: EPSTATUS
0x186 - DEVICE End Point Pipe Status
epintflag4: EPINTFLAG
0x187 - DEVICE End Point Interrupt Flag
epintenclr4: EPINTENCLR
0x188 - DEVICE End Point Interrupt Clear Flag
epintenset4: EPINTENSET
0x189 - DEVICE End Point Interrupt Set Flag
epcfg5: EPCFG
0x1a0 - DEVICE End Point Configuration
epstatusclr5: EPSTATUSCLR
0x1a4 - DEVICE End Point Pipe Status Clear
epstatusset5: EPSTATUSSET
0x1a5 - DEVICE End Point Pipe Status Set
epstatus5: EPSTATUS
0x1a6 - DEVICE End Point Pipe Status
epintflag5: EPINTFLAG
0x1a7 - DEVICE End Point Interrupt Flag
epintenclr5: EPINTENCLR
0x1a8 - DEVICE End Point Interrupt Clear Flag
epintenset5: EPINTENSET
0x1a9 - DEVICE End Point Interrupt Set Flag
epcfg6: EPCFG
0x1c0 - DEVICE End Point Configuration
epstatusclr6: EPSTATUSCLR
0x1c4 - DEVICE End Point Pipe Status Clear
epstatusset6: EPSTATUSSET
0x1c5 - DEVICE End Point Pipe Status Set
epstatus6: EPSTATUS
0x1c6 - DEVICE End Point Pipe Status
epintflag6: EPINTFLAG
0x1c7 - DEVICE End Point Interrupt Flag
epintenclr6: EPINTENCLR
0x1c8 - DEVICE End Point Interrupt Clear Flag
epintenset6: EPINTENSET
0x1c9 - DEVICE End Point Interrupt Set Flag
epcfg7: EPCFG
0x1e0 - DEVICE End Point Configuration
epstatusclr7: EPSTATUSCLR
0x1e4 - DEVICE End Point Pipe Status Clear
epstatusset7: EPSTATUSSET
0x1e5 - DEVICE End Point Pipe Status Set
epstatus7: EPSTATUS
0x1e6 - DEVICE End Point Pipe Status
epintflag7: EPINTFLAG
0x1e7 - DEVICE End Point Interrupt Flag
epintenclr7: EPINTENCLR
0x1e8 - DEVICE End Point Interrupt Clear Flag
epintenset7: EPINTENSET
0x1e9 - DEVICE End Point Interrupt Set Flag