...
Device Driver
...
Functions for PHY
...
NetPhy_Init()
...
Init()
function which is called by the Ethernet network interface layer after the MAC device driver is initialized without error.Files
Anchor
net_phy.c
Prototype
Anchor
...
...
rowspan | 2 |
---|
...
Anchor
Init()
function is accessed only by function pointer via the PHY driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.static
’.Arguments
...
pif
Pointer to the interface to initialize a PHY.
...
perr
Anchor
Pointer to variable that will receive the return error code from this function.
...
Returned Value
Anchor
Required Configuration
...
None. Anchor
Notes/Warnings
...
The PHY initialization function is responsible for the following actions:
...