Struct mk20d7::usb0::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { 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, // some fields omitted }

Register block

Fields

0x00 - Peripheral ID Register

0x04 - Peripheral ID Complement Register

0x08 - Peripheral Revision Register

0x0c - Peripheral Additional Info Register

0x10 - OTG Interrupt Status Register

0x14 - OTG Interrupt Control Register

0x18 - OTG Status Register

0x1c - OTG Control Register

0x80 - Interrupt Status Register

0x84 - Interrupt Enable Register

0x88 - Error Interrupt Status Register

0x8c - Error Interrupt Enable Register

0x90 - Status Register

0x94 - Control Register

0x98 - Address Register

0x9c - BDT Page Register 1

0xa0 - Frame Number Register Low

0xa4 - Frame Number Register High

0xa8 - Token Register

0xac - SOF Threshold Register

0xb0 - BDT Page Register 2

0xb4 - BDT Page Register 3

0xc0 - Endpoint Control Register

0xc4 - Endpoint Control Register

0xc8 - Endpoint Control Register

0xcc - Endpoint Control Register

0xd0 - Endpoint Control Register

0xd4 - Endpoint Control Register

0xd8 - Endpoint Control Register

0xdc - Endpoint Control Register

0xe0 - Endpoint Control Register

0xe4 - Endpoint Control Register

0xe8 - Endpoint Control Register

0xec - Endpoint Control Register

0xf0 - Endpoint Control Register

0xf4 - Endpoint Control Register

0xf8 - Endpoint Control Register

0xfc - Endpoint Control Register

0x100 - USB Control Register

0x104 - USB OTG Observe Register

0x108 - USB OTG Control Register

0x10c - USB Transceiver Control Register 0

0x114 - Frame Adjust Register

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock