STM32H735xx HAL User Manual
Data Fields
__ETH_HandleTypeDef Struct Reference

ETH Handle Structure definition. More...

#include <stm32h7xx_hal_eth.h>

Data Fields

ETH_TypeDef * Instance
ETH_InitTypeDef Init
ETH_TxDescListTypeDef TxDescList
ETH_RxDescListTypeDef RxDescList
HAL_LockTypeDef Lock
__IO HAL_ETH_StateTypeDef gState
__IO HAL_ETH_StateTypeDef RxState
__IO uint32_t ErrorCode
__IO uint32_t DMAErrorCode
__IO uint32_t MACErrorCode
__IO uint32_t MACWakeUpEvent
__IO uint32_t MACLPIEvent
void(* TxCpltCallback )(struct __ETH_HandleTypeDef *heth)
void(* RxCpltCallback )(struct __ETH_HandleTypeDef *heth)
void(* DMAErrorCallback )(struct __ETH_HandleTypeDef *heth)
void(* MACErrorCallback )(struct __ETH_HandleTypeDef *heth)
void(* PMTCallback )(struct __ETH_HandleTypeDef *heth)
void(* EEECallback )(struct __ETH_HandleTypeDef *heth)
void(* WakeUpCallback )(struct __ETH_HandleTypeDef *heth)
void(* MspInitCallback )(struct __ETH_HandleTypeDef *heth)
void(* MspDeInitCallback )(struct __ETH_HandleTypeDef *heth)

Detailed Description

ETH Handle Structure definition.

Definition at line 405 of file stm32h7xx_hal_eth.h.


Field Documentation

Holds the DMA Rx Tx Error code when a DMA AIS interrupt occurs This parameter can be a combination of ETH DMA Status Flags

Definition at line 432 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_GetDMAError(), HAL_ETH_IRQHandler(), and HAL_ETH_Transmit().

Holds the global Error code of the ETH HAL status machine This parameter can be a value of of ETH Error Code

Definition at line 429 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_DescAssignMemory(), HAL_ETH_GetError(), HAL_ETH_GetRxDataBuffer(), HAL_ETH_Init(), HAL_ETH_IRQHandler(), HAL_ETH_RegisterCallback(), HAL_ETH_Transmit(), HAL_ETH_Transmit_IT(), and HAL_ETH_UnRegisterCallback().

ETH state information related to global Handle management and also related to Tx operations. This parameter can be a value of ETH States

Definition at line 422 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_DeInit(), HAL_ETH_GetState(), HAL_ETH_Init(), HAL_ETH_IRQHandler(), HAL_ETH_RegisterCallback(), HAL_ETH_Start(), HAL_ETH_Start_IT(), HAL_ETH_Stop(), HAL_ETH_Stop_IT(), HAL_ETH_Transmit(), HAL_ETH_Transmit_IT(), and HAL_ETH_UnRegisterCallback().

Ethernet Init Configuration

Definition at line 412 of file stm32h7xx_hal_eth.h.

Referenced by ETH_DMARxDescListInit(), ETH_DMATxDescListInit(), HAL_ETH_GetRxDataBuffer(), and HAL_ETH_Init().

HAL_LockTypeDef __ETH_HandleTypeDef::Lock

Locking object

Definition at line 420 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_Init().

Holds the MAC Rx Tx Error code when a MAC Rx or Tx status interrupt occurs This parameter can be a combination of ETH MAC Rx Tx Status

Definition at line 435 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_GetMACError(), and HAL_ETH_IRQHandler().

Holds the LPI event when the an LPI status interrupt occurs. This parameter can be a value of ETHEx LPI Event

Definition at line 441 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_IRQHandler(), and HAL_ETHEx_GetMACLPIEvent().

Holds the Wake Up event when the MAC exit the power down mode This parameter can be a value of ETH MAC Wake Up Event

Definition at line 438 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_GetMACWakeUpSource(), and HAL_ETH_IRQHandler().

ETH Msp DeInit callback

Definition at line 455 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_DeInit(), HAL_ETH_RegisterCallback(), and HAL_ETH_UnRegisterCallback().

ETH Msp Init callback

Definition at line 454 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_Init(), HAL_ETH_RegisterCallback(), and HAL_ETH_UnRegisterCallback().

ETH Power Management Callback

Definition at line 450 of file stm32h7xx_hal_eth.h.

Referenced by ETH_InitCallbacksToDefault(), HAL_ETH_IRQHandler(), HAL_ETH_RegisterCallback(), and HAL_ETH_UnRegisterCallback().

Rx descriptor wrapper: holds all Rx descriptors list addresses and current descriptor index

Definition at line 417 of file stm32h7xx_hal_eth.h.

Referenced by ETH_DMARxDescListInit(), HAL_ETH_BuildRxDescriptors(), HAL_ETH_DescAssignMemory(), HAL_ETH_GetRxDataBuffer(), HAL_ETH_GetRxDataInfo(), HAL_ETH_GetRxDataLength(), HAL_ETH_IsRxDataAvailable(), HAL_ETH_Start_IT(), and HAL_ETH_Stop_IT().

ETH state information related to Rx operations. This parameter can be a value of ETH States

Definition at line 426 of file stm32h7xx_hal_eth.h.

Referenced by HAL_ETH_GetState(), HAL_ETH_Init(), HAL_ETH_SetDMAConfig(), HAL_ETH_SetMACConfig(), HAL_ETH_Start(), HAL_ETH_Start_IT(), HAL_ETH_Stop(), and HAL_ETH_Stop_IT().

Tx descriptor wrapper: holds all Tx descriptors list addresses and current descriptor index

Definition at line 414 of file stm32h7xx_hal_eth.h.

Referenced by ETH_DMATxDescListInit(), ETH_Prepare_Tx_Descriptors(), HAL_ETH_Transmit(), and HAL_ETH_Transmit_IT().


The documentation for this struct was generated from the following file: