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...
HAL ETH Generic Driver
UM1940
214/1371
DocID028236 Rev 2
Function description
Rx Transfer completed callbacks.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
None:
HAL_ETH_ErrorCallback
Function name
void HAL_ETH_ErrorCallback (ETH_HandleTypeDef * heth)
Function description
Ethernet transfer error callbacks.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
None:
HAL_ETH_Start
Function name
HAL_StatusTypeDef HAL_ETH_Start (ETH_HandleTypeDef *
heth)
Function description
Enables Ethernet MAC and DMA reception/transmission.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
HAL: status
HAL_ETH_Stop
Function name
HAL_StatusTypeDef HAL_ETH_Stop (ETH_HandleTypeDef *
heth)
Function description
Stop Ethernet MAC and DMA reception/transmission.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
Return values
HAL: status
HAL_ETH_ConfigMAC
Function name
HAL_StatusTypeDef HAL_ETH_ConfigMAC
(ETH_HandleTypeDef * heth, ETH_MACInitTypeDef * macconf)
Function description
Set ETH MAC Configuration.
Parameters
heth: pointer to a ETH_HandleTypeDef structure that
contains the configuration information for ETHERNET module
macconf: MAC Configuration structure
Return values
HAL: status
HAL_ETH_ConfigDMA
Function name
HAL_StatusTypeDef HAL_ETH_ConfigDMA
(ETH_HandleTypeDef * heth, ETH_DMAInitTypeDef * dmaconf)
Function description
Sets ETH DMA Configuration.

Table of Contents

Related product manuals