USB - Register Layout Typedef. More...
#include <LPC55S36.h>
Data Fields | |
| __IO uint32_t | DEVCMDSTAT |
| USB Device Command/Status, offset: 0x0. | |
| __IO uint32_t | INFO |
| USB Info, offset: 0x4. | |
| __IO uint32_t | EPLISTSTART |
| USB EP Command/Status List start address, offset: 0x8. | |
| __IO uint32_t | DATABUFSTART |
| USB Data buffer start address, offset: 0xC. | |
| __IO uint32_t | LPM |
| USB Link Power Management, offset: 0x10. | |
| __IO uint32_t | EPSKIP |
| USB Endpoint skip, offset: 0x14. | |
| __IO uint32_t | EPINUSE |
| USB Endpoint Buffer in use, offset: 0x18. | |
| __IO uint32_t | EPBUFCFG |
| USB Endpoint Buffer Configuration, offset: 0x1C. | |
| __IO uint32_t | INTSTAT |
| USB interrupt status, offset: 0x20. | |
| __IO uint32_t | INTEN |
| USB interrupt enable, offset: 0x24. | |
| __IO uint32_t | INTSETSTAT |
| USB set interrupt status, offset: 0x28. | |
| uint8_t | RESERVED_0 [8] |
| __IO uint32_t | EPTOGGLE |
| USB Endpoint toggle, offset: 0x34. | |
| __I uint8_t | PERID |
| Peripheral ID, offset: 0x0. | |
| __I uint8_t | IDCOMP |
| Peripheral ID Complement, offset: 0x4. | |
| uint8_t | RESERVED_1 [3] |
| __I uint8_t | REV |
| Peripheral Revision, offset: 0x8. | |
| uint8_t | RESERVED_2 [3] |
| __I uint8_t | ADDINFO |
| Peripheral Additional Information, offset: 0xC. | |
| uint8_t | RESERVED_3 [3] |
| __IO uint8_t | OTGISTAT |
| OTG Interrupt Status, offset: 0x10. | |
| uint8_t | RESERVED_4 [3] |
| __IO uint8_t | OTGICR |
| OTG Interrupt Control, offset: 0x14. | |
| uint8_t | RESERVED_5 [3] |
| __I uint8_t | OTGSTAT |
| OTG Status, offset: 0x18. | |
| uint8_t | RESERVED_6 [3] |
| __IO uint8_t | OTGCTL |
| OTG Control, offset: 0x1C. | |
| uint8_t | RESERVED_7 [99] |
| __IO uint8_t | ISTAT |
| Interrupt Status, offset: 0x80. | |
| uint8_t | RESERVED_8 [3] |
| __IO uint8_t | INTEN |
| Interrupt Enable, offset: 0x84. | |
| uint8_t | RESERVED_9 [3] |
| __IO uint8_t | ERRSTAT |
| Error Interrupt Status, offset: 0x88. | |
| uint8_t | RESERVED_10 [3] |
| __IO uint8_t | ERREN |
| Error Interrupt Enable, offset: 0x8C. | |
| uint8_t | RESERVED_11 [3] |
| __I uint8_t | STAT |
| Status, offset: 0x90. | |
| uint8_t | RESERVED_12 [3] |
| __IO uint8_t | CTL |
| Control, offset: 0x94. | |
| uint8_t | RESERVED_13 [3] |
| __IO uint8_t | ADDR |
| Address, offset: 0x98. | |
| uint8_t | RESERVED_14 [3] |
| __IO uint8_t | BDTPAGE1 |
| BDT Page 1, offset: 0x9C. | |
| uint8_t | RESERVED_15 [3] |
| __I uint8_t | FRMNUML |
| Frame Number Register Low, offset: 0xA0. | |
| uint8_t | RESERVED_16 [3] |
| __I uint8_t | FRMNUMH |
| Frame Number Register High, offset: 0xA4. | |
| uint8_t | RESERVED_17 [3] |
| __IO uint8_t | TOKEN |
| Token, offset: 0xA8. | |
| uint8_t | RESERVED_18 [3] |
| __IO uint8_t | SOFTHLD |
| SOF Threshold, offset: 0xAC. | |
| uint8_t | RESERVED_19 [3] |
| __IO uint8_t | BDTPAGE2 |
| BDT Page 2, offset: 0xB0. | |
| uint8_t | RESERVED_20 [3] |
| __IO uint8_t | BDTPAGE3 |
| BDT Page 3, offset: 0xB4. | |
| uint8_t | RESERVED_21 [11] |
| struct { | |
| __IO uint8_t USB_Type::ENDPT | |
| Endpoint Control, array offset: 0xC0, array step: 0x4. More... | |
| uint8_t RESERVED_0 [3] | |
| } | ENDPOINT [16] |
| __IO uint8_t | USBCTRL |
| USB Control, offset: 0x100. | |
| uint8_t | RESERVED_22 [3] |
| __I uint8_t | OBSERVE |
| USB OTG Observe, offset: 0x104. | |
| uint8_t | RESERVED_23 [3] |
| __IO uint8_t | CONTROL |
| USB OTG Control, offset: 0x108. | |
| uint8_t | RESERVED_24 [3] |
| __IO uint8_t | USBTRC0 |
| USB Transceiver Control 0, offset: 0x10C. | |
| uint8_t | RESERVED_25 [7] |
| __IO uint8_t | USBFRMADJUST |
| Frame Adjust, offset: 0x114. | |
| uint8_t | RESERVED_26 [15] |
| __IO uint8_t | KEEP_ALIVE_CTRL |
| Keep Alive Mode Control, offset: 0x124. | |
| uint8_t | RESERVED_27 [3] |
| __IO uint8_t | KEEP_ALIVE_WKCTRL |
| Keep Alive Mode Wakeup Control, offset: 0x128. | |
| uint8_t | RESERVED_28 [3] |
| __IO uint8_t | MISCCTRL |
| Miscellaneous Control, offset: 0x12C. | |
| uint8_t | RESERVED_29 [3] |
| __IO uint8_t | STALL_IL_DIS |
| Peripheral Mode Stall Disable for Endpoints 7 to 0 in IN Direction, offset: 0x130. | |
| uint8_t | RESERVED_30 [3] |
| __IO uint8_t | STALL_IH_DIS |
| Peripheral Mode Stall Disable for Endpoints 15 to 8 in IN Direction, offset: 0x134. | |
| uint8_t | RESERVED_31 [3] |
| __IO uint8_t | STALL_OL_DIS |
| Peripheral Mode Stall Disable for Endpoints 7 to 0 in OUT Direction, offset: 0x138. | |
| uint8_t | RESERVED_32 [3] |
| __IO uint8_t | STALL_OH_DIS |
| Peripheral Mode Stall Disable for Endpoints 15 to 8 in OUT Direction, offset: 0x13C. | |
| uint8_t | RESERVED_33 [3] |
| __IO uint8_t | CLK_RECOVER_CTRL |
| USB Clock Recovery Control, offset: 0x140. | |
| uint8_t | RESERVED_34 [3] |
| __IO uint8_t | CLK_RECOVER_IRC_EN |
| FIRC Oscillator Enable, offset: 0x144. | |
| uint8_t | RESERVED_35 [15] |
| __IO uint8_t | CLK_RECOVER_INT_EN |
| Clock Recovery Combined Interrupt Enable, offset: 0x154. | |
| uint8_t | RESERVED_36 [7] |
| __IO uint8_t | CLK_RECOVER_INT_STATUS |
| Clock Recovery Separated Interrupt Status, offset: 0x15C. | |
| __I uint32_t | ID |
| Identification, offset: 0x0. | |
| __I uint32_t | HWGENERAL |
| Hardware General, offset: 0x4. | |
| __I uint32_t | HWHOST |
| Host Hardware Parameters, offset: 0x8. | |
| __I uint32_t | HWDEVICE |
| Device Hardware Parameters, offset: 0xC. | |
| __I uint32_t | HWTXBUF |
| TX Buffer Hardware Parameters, offset: 0x10. | |
| __I uint32_t | HWRXBUF |
| RX Buffer Hardware Parameters, offset: 0x14. | |
| __IO uint32_t | GPTIMER0LD |
| General Purpose Timer #0 Load, offset: 0x80. | |
| __IO uint32_t | GPTIMER0CTRL |
| General Purpose Timer #0 Controller, offset: 0x84. | |
| __IO uint32_t | GPTIMER1LD |
| General Purpose Timer #1 Load, offset: 0x88. | |
| __IO uint32_t | GPTIMER1CTRL |
| General Purpose Timer #1 Controller, offset: 0x8C. | |
| __IO uint32_t | SBUSCFG |
| System Bus Configuration, offset: 0x90. | |
| __I uint8_t | CAPLENGTH |
| Capability Registers Length, offset: 0x100. | |
| __I uint16_t | HCIVERSION |
| Host Controller Interface Version, offset: 0x102. | |
| __I uint32_t | HCSPARAMS |
| Host Controller Structural Parameters, offset: 0x104. | |
| __I uint32_t | HCCPARAMS |
| Host Controller Capability Parameters, offset: 0x108. | |
| __I uint16_t | DCIVERSION |
| Device Controller Interface Version, offset: 0x120. | |
| __I uint32_t | DCCPARAMS |
| Device Controller Capability Parameters, offset: 0x124. | |
| __IO uint32_t | USBCMD |
| USB Command, offset: 0x140. | |
| __IO uint32_t | USBSTS |
| USB Status, offset: 0x144. | |
| __IO uint32_t | USBINTR |
| Interrupt Enable, offset: 0x148. | |
| __IO uint32_t | FRINDEX |
| USB Frame Index, offset: 0x14C. | |
| union { | |
| __IO uint32_t USB_Type::DEVICEADDR | |
| Device Address, offset: 0x154. More... | |
| __IO uint32_t USB_Type::PERIODICLISTBASE | |
| Frame List Base Address, offset: 0x154. More... | |
| }; | |
| union { | |
| __IO uint32_t USB_Type::ASYNCLISTADDR | |
| Next Asynchronous Address, offset: 0x158. More... | |
| __IO uint32_t USB_Type::ENDPTLISTADDR | |
| Endpoint List Address, offset: 0x158. More... | |
| }; | |
| __IO uint32_t | BURSTSIZE |
| Programmable Burst Size, offset: 0x160. | |
| __IO uint32_t | TXFILLTUNING |
| TX FIFO Fill Tuning, offset: 0x164. | |
| __IO uint32_t | ENDPTNAK |
| Endpoint NAK, offset: 0x178. | |
| __IO uint32_t | ENDPTNAKEN |
| Endpoint NAK Enable, offset: 0x17C. | |
| __I uint32_t | CONFIGFLAG |
| Configure Flag, offset: 0x180. | |
| __IO uint32_t | PORTSC1 |
| Port Status and Control, offset: 0x184. | |
| __IO uint32_t | OTGSC |
| On-The-Go Status and Control, offset: 0x1A4, available only on: USB0 (missing on USB1). | |
| __IO uint32_t | USBMODE |
| USB Device Mode, offset: 0x1A8. | |
| __IO uint32_t | ENDPTSETUPSTAT |
| Endpoint Setup Status, offset: 0x1AC. | |
| __IO uint32_t | ENDPTPRIME |
| Endpoint Prime, offset: 0x1B0. | |
| __IO uint32_t | ENDPTFLUSH |
| Endpoint Flush, offset: 0x1B4. | |
| __I uint32_t | ENDPTSTAT |
| Endpoint Status, offset: 0x1B8. | |
| __IO uint32_t | ENDPTCOMPLETE |
| Endpoint Complete, offset: 0x1BC. | |
| __IO uint32_t | ENDPTCTRL0 |
| Endpoint Control 0, offset: 0x1C0. | |
| __IO uint32_t | ENDPTCTRL [7] |
| Endpoint Control 1..Endpoint Control 7, array offset: 0x1C4, array step: 0x4. | |
USB - Register Layout Typedef.