STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
ETH State and Errors functions. More...
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. | |
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_StateTypeDef HAL_ETH_GetState | ( | const ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Returns the ETH state.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | state |
Definition at line 2668 of file stm32f4xx_hal_eth.c.
References ETH_HandleTypeDef::gState.
uint32_t HAL_ETH_GetError | ( | const ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Returns the ETH error code.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
ETH | Error Code |
Definition at line 2679 of file stm32f4xx_hal_eth.c.
References ETH_HandleTypeDef::ErrorCode.
uint32_t HAL_ETH_GetDMAError | ( | const ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Returns the ETH DMA error code.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
ETH | DMA Error Code |
Definition at line 2690 of file stm32f4xx_hal_eth.c.
References ETH_HandleTypeDef::DMAErrorCode.
uint32_t HAL_ETH_GetMACError | ( | const ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Returns the ETH MAC error code.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
ETH | MAC Error Code |
Definition at line 2701 of file stm32f4xx_hal_eth.c.
References ETH_HandleTypeDef::MACErrorCode.
uint32_t HAL_ETH_GetMACWakeUpSource | ( | const ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Returns the ETH MAC WakeUp event source.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
ETH | MAC WakeUp event source |
Definition at line 2712 of file stm32f4xx_hal_eth.c.
References ETH_HandleTypeDef::MACWakeUpEvent.