UM1940
17.2.6
Detailed description of functions
HAL_ETH_Init
Function name
Function description
Parameters
Return values
HAL_ETH_DeInit
Function name
Function description
Parameters
Return values
HAL_ETH_MspInit
Function name
Function description
Parameters
Return values
HAL_ETH_MspDeInit
Function name
Function description
Parameters
Return values
HAL_ETH_DMATxDescListInit
Function name
Function description
Parameters
HAL_StatusTypeDef HAL_ETH_Init (ETH_HandleTypeDef *
heth)
Initializes the Ethernet MAC and DMA according to default
parameters.
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
HAL: status
HAL_StatusTypeDef HAL_ETH_DeInit (ETH_HandleTypeDef *
heth)
De-Initializes the ETH peripheral.
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
HAL: status
void HAL_ETH_MspInit (ETH_HandleTypeDef * heth)
Initializes the ETH MSP.
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
None:
void HAL_ETH_MspDeInit (ETH_HandleTypeDef * heth)
DeInitializes ETH MSP.
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
None:
HAL_StatusTypeDef HAL_ETH_DMATxDescListInit
(ETH_HandleTypeDef * heth, ETH_DMADescTypeDef *
DMATxDescTab, uint8_t * TxBuff, uint32_t TxBuffCount)
Initializes the DMA Tx descriptors in chain mode.
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
DMATxDescTab: Pointer to the first Tx desc list
TxBuff: Pointer to the first TxBuffer list
DocID028236 Rev 2
HAL ETH Generic Driver
211/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers