The init_ethernet function initializes the ethernet
controller. The function:
enables the sending and receiving of packets
sets the MAC ethernet address
sets the interrupt configuration registers of the ethernet
controller if the ethernet controller is configured for interrupt
mode.
The init_ethernet function is part of RL-TCPnet. The
prototype is defined in net_config.h.
note
The MAC address of the ethernet interface is typically
configured by writing the six byte MAC address into the dedicated
registers of the ethernet controller.
You must provide the init_ethernet function if the
ethernet controller you use is different from the ones provided in
the TCPnet source.
The TcpNet system frequently calls init_ethernet during
its startup.
Return Value
The init_ethernet function does not return any value.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.