Struct mk20d7::usb0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 43 fields
pub perid: PERID,
pub idcomp: IDCOMP,
pub rev: REV,
pub addinfo: ADDINFO,
pub otgistat: OTGISTAT,
pub otgicr: OTGICR,
pub otgstat: OTGSTAT,
pub otgctl: OTGCTL,
pub istat: ISTAT,
pub inten: INTEN,
pub errstat: ERRSTAT,
pub erren: ERREN,
pub stat: STAT,
pub ctl: CTL,
pub addr: ADDR,
pub bdtpage1: BDTPAGE1,
pub frmnuml: FRMNUML,
pub frmnumh: FRMNUMH,
pub token: TOKEN,
pub softhld: SOFTHLD,
pub bdtpage2: BDTPAGE2,
pub bdtpage3: BDTPAGE3,
pub endpt0: ENDPT,
pub endpt1: ENDPT,
pub endpt2: ENDPT,
pub endpt3: ENDPT,
pub endpt4: ENDPT,
pub endpt5: ENDPT,
pub endpt6: ENDPT,
pub endpt7: ENDPT,
pub endpt8: ENDPT,
pub endpt9: ENDPT,
pub endpt10: ENDPT,
pub endpt11: ENDPT,
pub endpt12: ENDPT,
pub endpt13: ENDPT,
pub endpt14: ENDPT,
pub endpt15: ENDPT,
pub usbctrl: USBCTRL,
pub observe: OBSERVE,
pub control: CONTROL,
pub usbtrc0: USBTRC0,
pub usbfrmadjust: USBFRMADJUST,
/* private fields */
}
Expand description
Register block
Fields§
§perid: PERID
0x00 - Peripheral ID Register
idcomp: IDCOMP
0x04 - Peripheral ID Complement Register
rev: REV
0x08 - Peripheral Revision Register
addinfo: ADDINFO
0x0c - Peripheral Additional Info Register
otgistat: OTGISTAT
0x10 - OTG Interrupt Status Register
otgicr: OTGICR
0x14 - OTG Interrupt Control Register
otgstat: OTGSTAT
0x18 - OTG Status Register
otgctl: OTGCTL
0x1c - OTG Control Register
istat: ISTAT
0x80 - Interrupt Status Register
inten: INTEN
0x84 - Interrupt Enable Register
errstat: ERRSTAT
0x88 - Error Interrupt Status Register
erren: ERREN
0x8c - Error Interrupt Enable Register
stat: STAT
0x90 - Status Register
ctl: CTL
0x94 - Control Register
addr: ADDR
0x98 - Address Register
bdtpage1: BDTPAGE1
0x9c - BDT Page Register 1
frmnuml: FRMNUML
0xa0 - Frame Number Register Low
frmnumh: FRMNUMH
0xa4 - Frame Number Register High
token: TOKEN
0xa8 - Token Register
softhld: SOFTHLD
0xac - SOF Threshold Register
bdtpage2: BDTPAGE2
0xb0 - BDT Page Register 2
bdtpage3: BDTPAGE3
0xb4 - BDT Page Register 3
endpt0: ENDPT
0xc0 - Endpoint Control Register
endpt1: ENDPT
0xc4 - Endpoint Control Register
endpt2: ENDPT
0xc8 - Endpoint Control Register
endpt3: ENDPT
0xcc - Endpoint Control Register
endpt4: ENDPT
0xd0 - Endpoint Control Register
endpt5: ENDPT
0xd4 - Endpoint Control Register
endpt6: ENDPT
0xd8 - Endpoint Control Register
endpt7: ENDPT
0xdc - Endpoint Control Register
endpt8: ENDPT
0xe0 - Endpoint Control Register
endpt9: ENDPT
0xe4 - Endpoint Control Register
endpt10: ENDPT
0xe8 - Endpoint Control Register
endpt11: ENDPT
0xec - Endpoint Control Register
endpt12: ENDPT
0xf0 - Endpoint Control Register
endpt13: ENDPT
0xf4 - Endpoint Control Register
endpt14: ENDPT
0xf8 - Endpoint Control Register
endpt15: ENDPT
0xfc - Endpoint Control Register
usbctrl: USBCTRL
0x100 - USB Control Register
observe: OBSERVE
0x104 - USB OTG Observe Register
control: CONTROL
0x108 - USB OTG Control Register
usbtrc0: USBTRC0
0x10c - USB Transceiver Control Register 0
usbfrmadjust: USBFRMADJUST
0x114 - Frame Adjust Register