STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
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.
 
uint32_t HAL_ETH_GetError (const ETH_HandleTypeDef *heth)
 Returns the ETH error code.
 
uint32_t HAL_ETH_GetDMAError (const ETH_HandleTypeDef *heth)
 Returns the ETH DMA error code.
 
uint32_t HAL_ETH_GetMACError (const ETH_HandleTypeDef *heth)
 Returns the ETH MAC error code.
 
uint32_t HAL_ETH_GetMACWakeUpSource (const 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

◆ HAL_ETH_GetState()

HAL_ETH_StateTypeDef HAL_ETH_GetState ( const ETH_HandleTypeDef * heth)

#include <stm32f4xx_hal_eth.h>

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.

References ETH_HandleTypeDef::gState.

◆ HAL_ETH_GetError()

uint32_t HAL_ETH_GetError ( const ETH_HandleTypeDef * heth)

#include <stm32f4xx_hal_eth.h>

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.

References ETH_HandleTypeDef::ErrorCode.

◆ HAL_ETH_GetDMAError()

uint32_t HAL_ETH_GetDMAError ( const ETH_HandleTypeDef * heth)

#include <stm32f4xx_hal_eth.h>

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.

References ETH_HandleTypeDef::DMAErrorCode.

◆ HAL_ETH_GetMACError()

uint32_t HAL_ETH_GetMACError ( const ETH_HandleTypeDef * heth)

#include <stm32f4xx_hal_eth.h>

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.

References ETH_HandleTypeDef::MACErrorCode.

◆ HAL_ETH_GetMACWakeUpSource()

uint32_t HAL_ETH_GetMACWakeUpSource ( const ETH_HandleTypeDef * heth)

#include <stm32f4xx_hal_eth.h>

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.

References ETH_HandleTypeDef::MACWakeUpEvent.