Access Restricted
This page contains internal documentation that is not publicly available.
DHWCtrl.EthGetCommMode
Read the PHY-negotiated link parameters on Index. Typically
called after EthWaitLinkState(State = Up) succeeds. If
autonegotiation has not yet completed, Speed and/or
Duplex may read as Unknown.
Properties
- Command code: 0xE105
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidIndex, DHWCtrl.ErrNotActive
Parameters (request frame)
| Name | Type/Size | Description |
|---|---|---|
| Index | Integer (8 bits) | Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals. |
Returned values (response frame)
| Name | Type/Size | Description | |
|---|---|---|---|
| Speed | Enumeration (8 bits) |
PHY-negotiated link speed.
Values (4):
|
|
| Duplex | Enumeration (8 bits) |
PHY-negotiated duplex mode.
Values (3):
|
|