STM32H735xx HAL User Manual
|
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. |
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
uint32_t HAL_ETH_GetDMAError | ( | ETH_HandleTypeDef * | heth | ) |
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 2369 of file stm32h7xx_hal_eth.c.
References __ETH_HandleTypeDef::DMAErrorCode.
uint32_t HAL_ETH_GetError | ( | ETH_HandleTypeDef * | heth | ) |
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 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.
heth,: | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
ETH | MAC Error Code |
Definition at line 2380 of file stm32h7xx_hal_eth.c.
References __ETH_HandleTypeDef::MACErrorCode.
uint32_t HAL_ETH_GetMACWakeUpSource | ( | ETH_HandleTypeDef * | heth | ) |
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 2391 of file stm32h7xx_hal_eth.c.
References __ETH_HandleTypeDef::MACWakeUpEvent.
Returns the ETH state.
heth,: | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | state |
Definition at line 2341 of file stm32h7xx_hal_eth.c.
References __ETH_HandleTypeDef::gState, and __ETH_HandleTypeDef::RxState.