Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
USB_Type Struct Reference
[USB Peripheral Access Layer]
USB - Register Layout Typedef. More...
#include <MK20D5.h>
Data Fields | |
__I uint8_t | PERID |
Peripheral ID Register, offset: 0x0. | |
__I uint8_t | IDCOMP |
Peripheral ID Complement Register, offset: 0x4. | |
__I uint8_t | REV |
Peripheral Revision Register, offset: 0x8. | |
__I uint8_t | ADDINFO |
Peripheral Additional Info Register, offset: 0xC. | |
__IO uint8_t | OTGISTAT |
OTG Interrupt Status Register, offset: 0x10. | |
__IO uint8_t | OTGICR |
OTG Interrupt Control Register, offset: 0x14. | |
__IO uint8_t | OTGSTAT |
OTG Status Register, offset: 0x18. | |
__IO uint8_t | OTGCTL |
OTG Control Register, offset: 0x1C. | |
__IO uint8_t | ISTAT |
Interrupt Status Register, offset: 0x80. | |
__IO uint8_t | INTEN |
Interrupt Enable Register, offset: 0x84. | |
__IO uint8_t | ERRSTAT |
Error Interrupt Status Register, offset: 0x88. | |
__IO uint8_t | ERREN |
Error Interrupt Enable Register, offset: 0x8C. | |
__I uint8_t | STAT |
Status Register, offset: 0x90. | |
__IO uint8_t | CTL |
Control Register, offset: 0x94. | |
__IO uint8_t | ADDR |
Address Register, offset: 0x98. | |
__IO uint8_t | BDTPAGE1 |
BDT Page Register 1, offset: 0x9C. | |
__IO uint8_t | FRMNUML |
Frame Number Register Low, offset: 0xA0. | |
__IO uint8_t | FRMNUMH |
Frame Number Register High, offset: 0xA4. | |
__IO uint8_t | TOKEN |
Token Register, offset: 0xA8. | |
__IO uint8_t | SOFTHLD |
SOF Threshold Register, offset: 0xAC. | |
__IO uint8_t | BDTPAGE2 |
BDT Page Register 2, offset: 0xB0. | |
__IO uint8_t | BDTPAGE3 |
BDT Page Register 3, offset: 0xB4. | |
__IO uint8_t | USBCTRL |
USB Control Register, offset: 0x100. | |
__I uint8_t | OBSERVE |
USB OTG Observe Register, offset: 0x104. | |
__IO uint8_t | CONTROL |
USB OTG Control Register, offset: 0x108. | |
__IO uint8_t | USBTRC0 |
USB Transceiver Control Register 0, offset: 0x10C. | |
__IO uint8_t | USBFRMADJUST |
Frame Adjust Register, offset: 0x114. | |
__IO uint8_t | CLK_RECOVER_CTRL |
USB Clock recovery control, offset: 0x140. | |
__IO uint8_t | CLK_RECOVER_IRC_EN |
IRC48M oscillator enable register, offset: 0x144. | |
__IO uint8_t | CLK_RECOVER_INT_EN |
Clock recovery combined interrupt enable, offset: 0x154. | |
__IO uint8_t | CLK_RECOVER_INT_STATUS |
Clock recovery separated interrupt status, offset: 0x15C. | |
__IO uint8_t | ENDPT |
Endpoint Control Register, array offset: 0xC0, array step: 0x4. |
Detailed Description
USB - Register Layout Typedef.
Definition at line 6889 of file MK20D5.h.
Field Documentation
__IO uint8_t CLK_RECOVER_CTRL |
__IO uint8_t CLK_RECOVER_INT_EN |
__IO uint8_t CLK_RECOVER_INT_STATUS |
__IO uint8_t CLK_RECOVER_IRC_EN |
__IO uint8_t ENDPT |
Generated on Tue Jul 12 2022 15:37:38 by
