STM32H735xx HAL User Manual
Functions
Peripheral State and Errors functions
ETH Exported Functions

ETH State and Errors functions. More...

Functions

HAL_ETH_StateTypeDef HAL_ETH_GetState (ETH_HandleTypeDef *heth)
 Returns the ETH state.
uint32_t HAL_ETH_GetError (ETH_HandleTypeDef *heth)
 Returns the ETH error code.
uint32_t HAL_ETH_GetDMAError (ETH_HandleTypeDef *heth)
 Returns the ETH DMA error code.
uint32_t HAL_ETH_GetMACError (ETH_HandleTypeDef *heth)
 Returns the ETH MAC error code.
uint32_t HAL_ETH_GetMACWakeUpSource (ETH_HandleTypeDef *heth)
 Returns the ETH MAC WakeUp event source.

Detailed Description

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



Function Documentation

uint32_t HAL_ETH_GetDMAError ( ETH_HandleTypeDef heth)

Returns the ETH DMA error code.

Parameters:
heth,:pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values:
ETHDMA Error Code

Definition at line 2369 of file stm32h7xx_hal_eth.c.

References __ETH_HandleTypeDef::DMAErrorCode.

uint32_t HAL_ETH_GetError ( ETH_HandleTypeDef heth)

Returns the ETH error code.

Parameters:
heth,:pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values:
ETHError Code

Definition at line 2358 of file stm32h7xx_hal_eth.c.

References __ETH_HandleTypeDef::ErrorCode.

uint32_t HAL_ETH_GetMACError ( ETH_HandleTypeDef heth)

Returns the ETH MAC error code.

Parameters:
heth,:pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values:
ETHMAC Error Code

Definition at line 2380 of file stm32h7xx_hal_eth.c.

References __ETH_HandleTypeDef::MACErrorCode.

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:
ETHMAC WakeUp event source

Definition at line 2391 of file stm32h7xx_hal_eth.c.

References __ETH_HandleTypeDef::MACWakeUpEvent.

Returns the ETH state.

Parameters:
heth,:pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values:
HALstate

Definition at line 2341 of file stm32h7xx_hal_eth.c.

References __ETH_HandleTypeDef::gState, and __ETH_HandleTypeDef::RxState.