DGCMD
Device Generic Command Register
This register enables software to program the controller using a single generic command interface to send link management packets and notifications. This register contains command, control, and status fields relevant to the current generic command, while the DGCMDPAR register provides the command parameter.
Module Instance | Base Address | Register Address |
---|---|---|
i_usb31_0__ahb_slave__11000000__DWC_usb31_block_dev__SEG_L4_AHB_USB1_0x0_0x100000
|
0x1100C700
|
0x1100C714
|
Size: 32
Offset: 0x14
Access: RW
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
DGCMD Fields
Bit | Name | Description | Access | Reset |
---|---|---|---|---|
31:16 |
reserved_31_16
|
Reserved_31_16 |
RO
|
0x0
|
15:12 |
CMDSTATUS
|
Command Status - 1: CmdErr: Indicates that the device controller encountered an error while processing the command. - 0: Indicates command success |
RO
|
0x0
|
11 |
reserved_11
|
Reserved_11 |
RO
|
0x0
|
10 |
CMDACT
|
Command Active The software sets this bit to 1 to enable the device controller to execute the generic command. The device controller sets this bit to 0 after executing the command. |
RW
|
0x0
|
9 |
reserved_9
|
Reserved_9 |
RO
|
0x0
|
8 |
CMDIOC
|
Command Interrupt on Complete When this bit is set, the device controller issues a Generic Command Completion event after executing the command. Note that this interrupt is mapped to DCFG.IntrNum. Note: This field must not set to '1' if the DCTL.RunStop field is '0'. |
RW
|
0x0
|
7:0 |
CMDTYP
|
Generic Command Type Specifies the type of generic command the software driver is requesting the controller to perform. - 02h: Set Periodic Parameters - 04h: Set Scratchpad Buffer Array Address Lo - 05h: Set Scratchpad Buffer Array Address Hi - 07h: Transmit Device Notification - 09h: Selected FIFO Flush - 0Ah: All FIFO Flush - 0Ch: Set Endpoint NRDY - 11h: Restart After Disconnect All other values are reserved. |
RW
|
0x0
|