EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1940
HAL ETH Generic Driver
DocID028236 Rev 2
211/1371
17.2.6 Detailed description of functions
HAL_ETH_Init
Function name
HAL_StatusTypeDef HAL_ETH_Init (ETH_HandleTypeDef *
heth)
Function description
Initializes the Ethernet MAC and DMA according to default
parameters.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
HAL: status
HAL_ETH_DeInit
Function name
HAL_StatusTypeDef HAL_ETH_DeInit (ETH_HandleTypeDef *
heth)
Function description
De-Initializes the ETH peripheral.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
HAL: status
HAL_ETH_MspInit
Function name
void HAL_ETH_MspInit (ETH_HandleTypeDef * heth)
Function description
Initializes the ETH MSP.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
None:
HAL_ETH_MspDeInit
Function name
void HAL_ETH_MspDeInit (ETH_HandleTypeDef * heth)
Function description
DeInitializes ETH MSP.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
None:
HAL_ETH_DMATxDescListInit
Function name
HAL_StatusTypeDef HAL_ETH_DMATxDescListInit
(ETH_HandleTypeDef * heth, ETH_DMADescTypeDef *
DMATxDescTab, uint8_t * TxBuff, uint32_t TxBuffCount)
Function description
Initializes the DMA Tx descriptors in chain mode.
Parameters
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

Table of Contents

Related product manuals