fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088

Fork of mbed-src by mbed official

Embed: (wiki syntax)

« Back to documentation index

USB_Type Struct Reference

USB_Type Struct Reference
[USB Peripheral Access Layer]

USB - Register Layout Typedef. More...

#include <MKL25Z4.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 ENDPT
 Endpoint Control register, array offset: 0xC0, array step: 0x4.

Detailed Description

USB - Register Layout Typedef.

Definition at line 3799 of file MKL25Z4.h.


Field Documentation

__I uint8_t ADDINFO

Peripheral Additional Info register, offset: 0xC.

Definition at line 3806 of file MKL25Z4.h.

__IO uint8_t ADDR

Address register, offset: 0x98.

Definition at line 3828 of file MKL25Z4.h.

__IO uint8_t BDTPAGE1

BDT Page Register 1, offset: 0x9C.

Definition at line 3830 of file MKL25Z4.h.

__IO uint8_t BDTPAGE2

BDT Page Register 2, offset: 0xB0.

Definition at line 3840 of file MKL25Z4.h.

__IO uint8_t BDTPAGE3

BDT Page Register 3, offset: 0xB4.

Definition at line 3842 of file MKL25Z4.h.

__IO uint8_t CONTROL

USB OTG Control register, offset: 0x108.

Definition at line 3852 of file MKL25Z4.h.

__IO uint8_t CTL

Control register, offset: 0x94.

Definition at line 3826 of file MKL25Z4.h.

__IO uint8_t ENDPT

Endpoint Control register, array offset: 0xC0, array step: 0x4.

Definition at line 3845 of file MKL25Z4.h.

__IO uint8_t ERREN

Error Interrupt Enable register, offset: 0x8C.

Definition at line 3822 of file MKL25Z4.h.

__IO uint8_t ERRSTAT

Error Interrupt Status register, offset: 0x88.

Definition at line 3820 of file MKL25Z4.h.

__IO uint8_t FRMNUMH

Frame Number Register High, offset: 0xA4.

Definition at line 3834 of file MKL25Z4.h.

__IO uint8_t FRMNUML

Frame Number Register Low, offset: 0xA0.

Definition at line 3832 of file MKL25Z4.h.

__I uint8_t IDCOMP

Peripheral ID Complement register, offset: 0x4.

Definition at line 3802 of file MKL25Z4.h.

__IO uint8_t INTEN

Interrupt Enable register, offset: 0x84.

Definition at line 3818 of file MKL25Z4.h.

__IO uint8_t ISTAT

Interrupt Status register, offset: 0x80.

Definition at line 3816 of file MKL25Z4.h.

__I uint8_t OBSERVE

USB OTG Observe register, offset: 0x104.

Definition at line 3850 of file MKL25Z4.h.

__IO uint8_t OTGCTL

OTG Control register, offset: 0x1C.

Definition at line 3814 of file MKL25Z4.h.

__IO uint8_t OTGICR

OTG Interrupt Control Register, offset: 0x14.

Definition at line 3810 of file MKL25Z4.h.

__IO uint8_t OTGISTAT

OTG Interrupt Status register, offset: 0x10.

Definition at line 3808 of file MKL25Z4.h.

__IO uint8_t OTGSTAT

OTG Status register, offset: 0x18.

Definition at line 3812 of file MKL25Z4.h.

__I uint8_t PERID

Peripheral ID register, offset: 0x0.

Definition at line 3800 of file MKL25Z4.h.

__I uint8_t REV

Peripheral Revision register, offset: 0x8.

Definition at line 3804 of file MKL25Z4.h.

__IO uint8_t SOFTHLD

SOF Threshold Register, offset: 0xAC.

Definition at line 3838 of file MKL25Z4.h.

__I uint8_t STAT

Status register, offset: 0x90.

Definition at line 3824 of file MKL25Z4.h.

__IO uint8_t TOKEN

Token register, offset: 0xA8.

Definition at line 3836 of file MKL25Z4.h.

__IO uint8_t USBCTRL

USB Control register, offset: 0x100.

Definition at line 3848 of file MKL25Z4.h.

__IO uint8_t USBTRC0

USB Transceiver Control Register 0, offset: 0x10C.

Definition at line 3854 of file MKL25Z4.h.