esp_eth: EMAC start/stop optimization

This commit is contained in:
Ondrej Kosta
2022-03-07 08:36:28 +01:00
parent 3c8bab0285
commit 8f1f424390
4 changed files with 19 additions and 16 deletions

View File

@@ -387,7 +387,7 @@ void emac_hal_start(emac_hal_context_t *hal);
* @param hal EMAC HAL context infostructure
* @return
* - ESP_OK: succeed
* - ESP_ERR_INVALID_STATE: previous frame transmission is not completed. When this error occurs,
* - ESP_ERR_INVALID_STATE: previous frame transmission/reception is not completed. When this error occurs,
* wait and reapeat the EMAC stop again.
*/
esp_err_t emac_hal_stop(emac_hal_context_t *hal);