Access Restricted
This page contains internal documentation that is not publicly available.
DHWCtrl.EthActivate
Initialize MAC + PHY for Index: apply the pin
configuration named Pinset, program the source
MacAddress, enable RX/TX. Returns once init completes;
PHY autonegotiation runs asynchronously - call
EthWaitLinkState to block until the link is up.
Properties
- Command code: 0xE100
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidIndex, DHWCtrl.ErrAlreadyActive, DHWCtrl.ErrInvalidParam, DHWCtrl.ErrHardware
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. | |
| Pinset | Enumeration (8 bits) |
Ordinal index into the firmware's per-peripheral pinset
array (mirrors a pinctrl-names entry). The valid set per
peripheral instance is discoverable via
ListPeripherals.
Values (8):
|
|
| MacAddress | Raw data (length 6 Bytes) | Source MAC address (6 bytes) to program into the MAC engine. | |
Returned values (response frame)
None