3.6.5 CNFG_GetUSBParameters Command
and its Response
The CNFG_GetUSBParameters command (0x89) reads the USB
parameters from NVM.
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
|
0 |
|
Command code | Reads USB parameters from NVM |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0x89 | Echo command code | Returns the command code and USB parameters from NVM |
| 1 | 0x21 | Accepted | Command is accepted |
| 2 | L(wVID) | VID – lower byte | Vendor ID |
| 3 | H(wVID) | VID – higher byte | |
| 4 | L(wPID) | PID – lower byte | Product ID |
| 5 | H(wPID) | PID – higher byte | |
| 6 |
|
SrcType-RmtWakUp-EnDisSrlNumEnum: BusPow-RWNo-SNEnNo Bus Pow-RWYes-SNEnNo Self Pow-RWNo-SNEnNo SelfPow-RWYes-SNEnNo BusPow-RWNo-SNEnYes BusPow-RWYes-SNEnYes SelfPow-RWNo-SNEnYes SelfPow-RWYes-SNEnYes |
Combines three settings: Bit 3: Self-powered (1) or bus-powered (0). Bit 2: Remote wake-up supported (1) or not (0). Bit 0: Enumerates with a serial number (1) or without (0). |
| 7 |
|
Maximum Current: 2 mA 4 mA ... 500 mA |
Indicates the maximum current the device would draw from the bus. Maximum bus current = Parameter value x 2 |
