emac_hal_stop() function
Stops EMAC Transmission & Reception
Arguments
hal
EMAC HAL context infostructure
Return value
- ESP_OK: succeed - ESP_ERR_INVALID_STATE: previous frame transmission/reception is not completed. When this error occurs, wait and repeat the EMAC stop again.