ETH State and Errors functions.
More...
ETH State and Errors functions.
==============================================================================
##### Peripheral State and Errors functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to return the State of
ETH communication process, return Peripheral Errors occurred during communication
process
◆ HAL_ETH_GetDMAError()
Returns the ETH DMA error code.
- Parameters
-
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
- Return values
-
Definition at line 2690 of file stm32f4xx_hal_eth.c.
◆ HAL_ETH_GetError()
Returns the ETH error code.
- Parameters
-
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
- Return values
-
Definition at line 2679 of file stm32f4xx_hal_eth.c.
◆ HAL_ETH_GetMACError()
Returns the ETH MAC error code.
- Parameters
-
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
- Return values
-
Definition at line 2701 of file stm32f4xx_hal_eth.c.
◆ HAL_ETH_GetMACWakeUpSource()
Returns the ETH MAC WakeUp event source.
- Parameters
-
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
- Return values
-
ETH | MAC WakeUp event source |
Definition at line 2712 of file stm32f4xx_hal_eth.c.
◆ HAL_ETH_GetState()
Returns the ETH state.
- Parameters
-
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
- Return values
-
Definition at line 2668 of file stm32f4xx_hal_eth.c.