STM32F4xx_HAL_Driver  1.8.3
Peripheral State and Errors functions

ETH State and Errors functions. More...

+ Collaboration diagram for Peripheral State and Errors functions:

Functions

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

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

◆ HAL_ETH_GetDMAError()

uint32_t HAL_ETH_GetDMAError ( const ETH_HandleTypeDef heth)

Returns the ETH DMA error code.

Parameters
hethpointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values
ETHDMA Error Code

Definition at line 2690 of file stm32f4xx_hal_eth.c.

◆ HAL_ETH_GetError()

uint32_t HAL_ETH_GetError ( const ETH_HandleTypeDef heth)

Returns the ETH error code.

Parameters
hethpointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values
ETHError Code

Definition at line 2679 of file stm32f4xx_hal_eth.c.

◆ HAL_ETH_GetMACError()

uint32_t HAL_ETH_GetMACError ( const ETH_HandleTypeDef heth)

Returns the ETH MAC error code.

Parameters
hethpointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values
ETHMAC Error Code

Definition at line 2701 of file stm32f4xx_hal_eth.c.

◆ HAL_ETH_GetMACWakeUpSource()

uint32_t HAL_ETH_GetMACWakeUpSource ( const ETH_HandleTypeDef heth)

Returns the ETH MAC WakeUp event source.

Parameters
hethpointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values
ETHMAC WakeUp event source

Definition at line 2712 of file stm32f4xx_hal_eth.c.

◆ HAL_ETH_GetState()

HAL_ETH_StateTypeDef HAL_ETH_GetState ( const ETH_HandleTypeDef heth)

Returns the ETH state.

Parameters
hethpointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module
Return values
HALstate

Definition at line 2668 of file stm32f4xx_hal_eth.c.