36 DCCPARAMS_DEN_MASK = 0x1Fu,
41 USBCMD_RUN_STOP = TU_BIT(0),
42 USBCMD_RESET = TU_BIT(1),
43 USBCMD_SETUP_TRIPWIRE = TU_BIT(13),
44 USBCMD_ADD_QTD_TRIPWIRE = TU_BIT(14),
48 USBCMD_INTR_THRESHOLD_MASK = 0x00FF0000u,
52#define PORTSC1_PORT_SPEED_POS 26
55 PORTSC1_CURRENT_CONNECT_STATUS = TU_BIT(0),
56 PORTSC1_FORCE_PORT_RESUME = TU_BIT(6),
57 PORTSC1_SUSPEND = TU_BIT(7),
58 PORTSC1_FORCE_FULL_SPEED = TU_BIT(24),
59 PORTSC1_PORT_SPEED = TU_BIT(26) | TU_BIT(27)
64 OTGSC_VBUS_DISCHARGE = TU_BIT(0),
65 OTGSC_VBUS_CHARGE = TU_BIT(1),
67 OTGSC_OTG_TERMINATION = TU_BIT(3),
68 OTGSC_DATA_PULSING = TU_BIT(4),
69 OTGSC_ID_PULLUP = TU_BIT(5),
73 OTGSC_A_VBUS_VALID = TU_BIT(9),
74 OTGSC_A_SESSION_VALID = TU_BIT(10),
75 OTGSC_B_SESSION_VALID = TU_BIT(11),
76 OTGSC_B_SESSION_END = TU_BIT(12),
77 OTGSC_1MS_TOGGLE = TU_BIT(13),
78 OTGSC_DATA_BUS_PULSING_STATUS = TU_BIT(14),
83 USBMOD_CM_MASK = TU_BIT(0) | TU_BIT(1),
84 USBMODE_CM_DEVICE = 2,
87 USBMODE_SLOM = TU_BIT(3),
88 USBMODE_SDIS = TU_BIT(4),
90 USBMODE_VBUS_POWER_SELECT = TU_BIT(5),
97 volatile uint32_t TU_RESERVED[64];
101 volatile uint8_t TU_RESERVED[1];
106 volatile uint32_t TU_RESERVED[5];
109 volatile uint8_t TU_RESERVED[2];
112 volatile uint32_t TU_RESERVED[6];
119 volatile uint32_t TU_RESERVED;
122 volatile uint32_t TU_RESERVED;
125 uint32_t TU_RESERVED[4];
128 volatile uint32_t TU_RESERVED;
130 volatile uint32_t TU_RESERVED[7];
138 volatile uint32_t ENDPTCTRL[8];
Definition ci_hs_type.h:143
Definition ci_hs_type.h:95
volatile uint32_t PORTSC1
Port Status & Control.
Definition ci_hs_type.h:129
volatile uint32_t USBINTR
Interrupt Enable Register.
Definition ci_hs_type.h:117
volatile uint32_t OTGSC
On-The-Go Status & control.
Definition ci_hs_type.h:131
volatile uint32_t ENDPTNAKEN
Endpoint NAK Enable.
Definition ci_hs_type.h:127
volatile uint32_t FRINDEX
USB Frame Index.
Definition ci_hs_type.h:118
volatile uint16_t DCIVERSION
Device Controller Interface Version.
Definition ci_hs_type.h:108
volatile uint32_t USBSTS
USB Status Register.
Definition ci_hs_type.h:116
volatile uint32_t ENDPTLISTADDR
Endpoint List Address.
Definition ci_hs_type.h:121
volatile uint32_t ENDPTCOMPLETE
Endpoint Complete.
Definition ci_hs_type.h:137
volatile uint32_t ENDPTNAK
Endpoint NAK.
Definition ci_hs_type.h:126
volatile uint8_t CAPLENGTH
Capability Registers Length.
Definition ci_hs_type.h:100
volatile uint32_t HCCPARAMS
Host Controller Capability Parameters.
Definition ci_hs_type.h:105
volatile uint32_t HCSPARAMS
Host Controller Structural Parameters.
Definition ci_hs_type.h:104
volatile uint32_t DCCPARAMS
Device Controller Capability Parameters.
Definition ci_hs_type.h:111
volatile uint32_t ENDPTFLUSH
Endpoint Flush.
Definition ci_hs_type.h:135
volatile uint32_t ENDPTSETUPSTAT
Endpoint Setup Status.
Definition ci_hs_type.h:133
volatile uint32_t TXFILLTUNING
TX FIFO Fill Tuning.
Definition ci_hs_type.h:124
volatile uint32_t ENDPTSTAT
Endpoint Status.
Definition ci_hs_type.h:136
volatile uint32_t ENDPTPRIME
Endpoint Prime.
Definition ci_hs_type.h:134
volatile uint32_t USBCMD
USB Command Register.
Definition ci_hs_type.h:115
volatile uint32_t BURSTSIZE
Programmable Burst Size.
Definition ci_hs_type.h:123
volatile uint16_t HCIVERSION
Host Controller Interface Version.
Definition ci_hs_type.h:102
volatile uint32_t USBMODE
USB Device Mode.
Definition ci_hs_type.h:132
volatile uint32_t DEVICEADDR
Device Address.
Definition ci_hs_type.h:120