forkd

Dependencies:   mbed

Fork of LGstaandart by Dmitry Kovalev

Embed: (wiki syntax)

« Back to documentation index

LPC_USB_TypeDef Struct Reference

LPC_USB_TypeDef Struct Reference
[LPC17xx_System]

Universal Serial Bus (USB) register structure definition. More...

#include <LPC17xx.h>

Data Fields

__I uint32_t Revision
__IO uint32_t Control
__IO uint32_t CommandStatus
__IO uint32_t InterruptStatus
__IO uint32_t InterruptEnable
__IO uint32_t InterruptDisable
__IO uint32_t HCCA
__I uint32_t PeriodCurrentED
__IO uint32_t ControlHeadED
__IO uint32_t ControlCurrentED
__IO uint32_t BulkHeadED
__IO uint32_t BulkCurrentED
__I uint32_t DoneHead
__IO uint32_t FmInterval
__I uint32_t FmRemaining
__I uint32_t FmNumber
__IO uint32_t PeriodicStart
__IO uint32_t LSTreshold
__IO uint32_t RhDescriptorA
__IO uint32_t RhDescriptorB
__IO uint32_t RhStatus
__IO uint32_t RhPortStatus1
__IO uint32_t RhPortStatus2
__I uint32_t Module_ID
__I uint32_t IntSt
__IO uint32_t IntEn
__O uint32_t IntSet
__O uint32_t IntClr
__IO uint32_t StCtrl
__IO uint32_t Tmr
__I uint32_t DevIntSt
__IO uint32_t DevIntEn
__O uint32_t DevIntClr
__O uint32_t DevIntSet
__O uint32_t CmdCode
__I uint32_t CmdData
__I uint32_t RxData
__O uint32_t TxData
__I uint32_t RxPLen
__O uint32_t TxPLen
__IO uint32_t Ctrl
__O uint32_t DevIntPri
__I uint32_t EpIntSt
__IO uint32_t EpIntEn
__O uint32_t EpIntClr
__O uint32_t EpIntSet
__O uint32_t EpIntPri
__IO uint32_t ReEp
__O uint32_t EpInd
__IO uint32_t MaxPSize
__I uint32_t DMARSt
__O uint32_t DMARClr
__O uint32_t DMARSet
__IO uint32_t UDCAH
__I uint32_t EpDMASt
__O uint32_t EpDMAEn
__O uint32_t EpDMADis
__I uint32_t DMAIntSt
__IO uint32_t DMAIntEn
__I uint32_t EoTIntSt
__O uint32_t EoTIntClr
__O uint32_t EoTIntSet
__I uint32_t NDDRIntSt
__O uint32_t NDDRIntClr
__O uint32_t NDDRIntSet
__I uint32_t SysErrIntSt
__O uint32_t SysErrIntClr
__O uint32_t SysErrIntSet
__I uint32_t I2C_STS
__IO uint32_t I2C_CTL
__IO uint32_t I2C_CLKHI
__O uint32_t I2C_CLKLO
__I uint32_t I2C_RX
__O uint32_t I2C_TX
__IO uint32_t USBClkCtrl
__IO uint32_t OTGClkCtrl
__I uint32_t USBClkSt
__I uint32_t OTGClkSt

Detailed Description

Universal Serial Bus (USB) register structure definition.

Definition at line 710 of file LPC17xx.h.


Field Documentation

__IO uint32_t BulkCurrentED

Offset: 0x02C (R/W) Register

Definition at line 723 of file LPC17xx.h.

__IO uint32_t BulkHeadED

Offset: 0x028 (R/W) Register

Definition at line 722 of file LPC17xx.h.

__O uint32_t CmdCode

Offset: 0x210 (R/W) USB Command Code Register

Definition at line 751 of file LPC17xx.h.

__I uint32_t CmdData

Offset: 0x214 (R/W) USB Command Data Register

Definition at line 752 of file LPC17xx.h.

__IO uint32_t CommandStatus

Offset: 0x008 (R/W) Command / Status Register

Definition at line 714 of file LPC17xx.h.

__IO uint32_t Control

Offset: 0x004 (R/W) Control Register

Definition at line 713 of file LPC17xx.h.

__IO uint32_t ControlCurrentED

Offset: 0x024 (R/W) Register

Definition at line 721 of file LPC17xx.h.

__IO uint32_t ControlHeadED

Offset: 0x020 (R/W) Register

Definition at line 720 of file LPC17xx.h.

__IO uint32_t Ctrl

Offset: 0x228 (R/W) USB Control Register

Definition at line 758 of file LPC17xx.h.

__O uint32_t DevIntClr

Offset: 0x208 ( /W) USB Device Interrupt Clear Register

Definition at line 748 of file LPC17xx.h.

__IO uint32_t DevIntEn

Offset: 0x204 (R/W) USB Device Interrupt Enable Register

Definition at line 747 of file LPC17xx.h.

__O uint32_t DevIntPri

Offset: 0x22C (R/W) USB Device Interrupt Priority Register

Definition at line 759 of file LPC17xx.h.

__O uint32_t DevIntSet

Offset: 0x20C ( /W) USB Device Interrupt Set Register

Definition at line 749 of file LPC17xx.h.

__I uint32_t DevIntSt

Offset: 0x200 (R/ ) USB Device Interrupt Status Register

Definition at line 746 of file LPC17xx.h.

__IO uint32_t DMAIntEn

Offset: 0x294 (R/W) USB DMA Interrupt Enable Register

Definition at line 780 of file LPC17xx.h.

__I uint32_t DMAIntSt

Offset: 0x290 (R/ ) USB DMA Interrupt Status Register

Definition at line 779 of file LPC17xx.h.

__O uint32_t DMARClr

Offset: 0x254 ( /W) USB DMA Request Clear Register

Definition at line 772 of file LPC17xx.h.

__O uint32_t DMARSet

Offset: 0x258 ( /W) USB DMA Request Set Register

Definition at line 773 of file LPC17xx.h.

__I uint32_t DMARSt

Offset: 0x250 (R/ ) USB DMA Request Status Register

Definition at line 771 of file LPC17xx.h.

__I uint32_t DoneHead

Offset: 0x030 (R/ ) Register

Definition at line 724 of file LPC17xx.h.

__O uint32_t EoTIntClr

Offset: 0x2A4 ( /W) USB End of Transfer Interrupt Clear Register

Definition at line 783 of file LPC17xx.h.

__O uint32_t EoTIntSet

Offset: 0x2A8 ( /W) USB End of Transfer Interrupt Set Register

Definition at line 784 of file LPC17xx.h.

__I uint32_t EoTIntSt

Offset: 0x2A0 (R/ ) USB End of Transfer Interrupt Status Register

Definition at line 782 of file LPC17xx.h.

__O uint32_t EpDMADis

Offset: 0x28C ( /W) USB EP DMA Disable Register

Definition at line 778 of file LPC17xx.h.

__O uint32_t EpDMAEn

Offset: 0x288 ( /W) USB EP DMA Enable Register

Definition at line 777 of file LPC17xx.h.

__I uint32_t EpDMASt

Offset: 0x284 (R/ ) USB EP DMA Status Register

Definition at line 776 of file LPC17xx.h.

__O uint32_t EpInd

Offset: 0x248 ( /W) USB Endpoint Index Register

Definition at line 768 of file LPC17xx.h.

__O uint32_t EpIntClr

Offset: 0x238 ( /W) USB Endpoint Interrupt Clear Register

Definition at line 763 of file LPC17xx.h.

__IO uint32_t EpIntEn

Offset: 0x234 (R/W) USB Endpoint Interrupt Enable Register

Definition at line 762 of file LPC17xx.h.

__O uint32_t EpIntPri

Offset: 0x240 ( /W) USB Endpoint Interrupt Priority Register

Definition at line 765 of file LPC17xx.h.

__O uint32_t EpIntSet

Offset: 0x23C ( /W) USB Endpoint Interrupt Set Register

Definition at line 764 of file LPC17xx.h.

__I uint32_t EpIntSt

Offset: 0x230 (R/ ) USB Endpoint Interrupt Status Register

Definition at line 761 of file LPC17xx.h.

__IO uint32_t FmInterval

Offset: 0x034 (R/W) Register

Definition at line 725 of file LPC17xx.h.

__I uint32_t FmNumber

Offset: 0x03C (R/ ) Register

Definition at line 727 of file LPC17xx.h.

__I uint32_t FmRemaining

Offset: 0x038 (R/ ) Register

Definition at line 726 of file LPC17xx.h.

__IO uint32_t HCCA

Offset: 0x018 (R/W) Host Controller communication Area Register

Definition at line 718 of file LPC17xx.h.

__IO uint32_t I2C_CLKHI

Offset: 0x30C (R/W) OTG I2C Clock High Register

Definition at line 799 of file LPC17xx.h.

__O uint32_t I2C_CLKLO

Offset: 0x310 ( /W) OTG I2C Clock Low Register

Definition at line 800 of file LPC17xx.h.

__IO uint32_t I2C_CTL

Offset: 0x308 (R/W) OTG I2C Control Register

Definition at line 798 of file LPC17xx.h.

__I uint32_t I2C_RX

Offset: 0x300 (R/ ) OTG I2C Receive Register

Definition at line 794 of file LPC17xx.h.

__I uint32_t I2C_STS

Offset: 0x304 (R/ ) OTG I2C Status Register

Definition at line 797 of file LPC17xx.h.

__O uint32_t I2C_TX

Offset: 0x300 ( /W) OTG I2C Transmit Register

Definition at line 795 of file LPC17xx.h.

__O uint32_t IntClr

Offset: 0x10C ( /W) OTG Interrupt Clear Register

Definition at line 741 of file LPC17xx.h.

__IO uint32_t IntEn

Offset: 0x104 (R/W) OTG Interrupt Enable Register

Definition at line 739 of file LPC17xx.h.

__IO uint32_t InterruptDisable

Offset: 0x014 (R/W) Interrupt Disable Register

Definition at line 717 of file LPC17xx.h.

__IO uint32_t InterruptEnable

Offset: 0x010 (R/W) Interrupt Enable Register

Definition at line 716 of file LPC17xx.h.

__IO uint32_t InterruptStatus

Offset: 0x00C (R/W) Interrupt Status Register

Definition at line 715 of file LPC17xx.h.

__O uint32_t IntSet

Offset: 0x108 ( /W) OTG Interrupt Set Register

Definition at line 740 of file LPC17xx.h.

__I uint32_t IntSt

Offset: 0x100 (R/ ) OTG Interrupt Status Register

Definition at line 738 of file LPC17xx.h.

__IO uint32_t LSTreshold

Offset: 0x044 (R/W) Register

Definition at line 729 of file LPC17xx.h.

__IO uint32_t MaxPSize

Offset: 0x24C (R/W) USB MaxPacketSize Register

Definition at line 769 of file LPC17xx.h.

__I uint32_t Module_ID

Offset: 0x0FC (R/ ) Module ID / Version Reverence ID Register

Definition at line 736 of file LPC17xx.h.

__O uint32_t NDDRIntClr

Offset: 0x2B0 ( /W) USB New DD Request Interrupt Clear Register

Definition at line 786 of file LPC17xx.h.

__O uint32_t NDDRIntSet

Offset: 0x2B4 ( /W) USB New DD Request Interrupt Set Register

Definition at line 787 of file LPC17xx.h.

__I uint32_t NDDRIntSt

Offset: 0x2AC (R/ ) USB New DD Request Interrupt Status Register

Definition at line 785 of file LPC17xx.h.

__IO uint32_t OTGClkCtrl

Offset: 0xFF4 (R/W) USB clock controller Register

Definition at line 805 of file LPC17xx.h.

__I uint32_t OTGClkSt

Offset: 0xFF8 (R/ ) USB clock status Register

Definition at line 809 of file LPC17xx.h.

__I uint32_t PeriodCurrentED

Offset: 0x01C (R/ ) Register

Definition at line 719 of file LPC17xx.h.

__IO uint32_t PeriodicStart

Offset: 0x040 (R/W) Register

Definition at line 728 of file LPC17xx.h.

__IO uint32_t ReEp

Offset: 0x244 (R/W) USB Realize Endpoint Register

Definition at line 767 of file LPC17xx.h.

__I uint32_t Revision

Offset: 0x000 (R/ ) Revision Register

Definition at line 712 of file LPC17xx.h.

__IO uint32_t RhDescriptorA

Offset: 0x048 (R/W) Register

Definition at line 730 of file LPC17xx.h.

__IO uint32_t RhDescriptorB

Offset: 0x04C (R/W) Register

Definition at line 731 of file LPC17xx.h.

__IO uint32_t RhPortStatus1

Offset: 0x054 (R/W) Register

Definition at line 733 of file LPC17xx.h.

__IO uint32_t RhPortStatus2

Offset: 0x05C (R/W) Register

Definition at line 734 of file LPC17xx.h.

__IO uint32_t RhStatus

Offset: 0x050 (R/W) Register

Definition at line 732 of file LPC17xx.h.

__I uint32_t RxData

Offset: 0x218 (R/ ) USB Receive Data Register

Definition at line 754 of file LPC17xx.h.

__I uint32_t RxPLen

Offset: 0x220 (R/ ) USB Receive Packet Length Register

Definition at line 756 of file LPC17xx.h.

__IO uint32_t StCtrl

Offset: 0x110 (R/W) OTG Status and Control Register

Definition at line 742 of file LPC17xx.h.

__O uint32_t SysErrIntClr

Offset: 0x2BC ( /W) USB System Error Interrupt Clear Register

Definition at line 789 of file LPC17xx.h.

__O uint32_t SysErrIntSet

Offset: 0x2C0 ( /W) USB System Error Interrupt Set Register

Definition at line 790 of file LPC17xx.h.

__I uint32_t SysErrIntSt

Offset: 0x2B8 (R/ ) USB System Error Interrupt Status Register

Definition at line 788 of file LPC17xx.h.

__IO uint32_t Tmr

Offset: 0x114 (R/W) OTG Timer Register

Definition at line 743 of file LPC17xx.h.

__O uint32_t TxData

Offset: 0x21C ( /W) USB Transmit Data Register

Definition at line 755 of file LPC17xx.h.

__O uint32_t TxPLen

Offset: 0x224 ( /W) USB Transmit Packet Length Register

Definition at line 757 of file LPC17xx.h.

__IO uint32_t UDCAH

Offset: 0x280 (R/W) USB UDCA Head Register

Definition at line 775 of file LPC17xx.h.

__IO uint32_t USBClkCtrl

Offset: 0xFF4 (R/W) OTG clock controller Register

Definition at line 804 of file LPC17xx.h.

__I uint32_t USBClkSt

Offset: 0xFF8 (R/ ) OTG clock status Register

Definition at line 808 of file LPC17xx.h.