STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
ETH Transmit and Receive functions. More...
Functions | |
HAL_StatusTypeDef | HAL_ETH_Start (ETH_HandleTypeDef *heth) |
Enables Ethernet MAC and DMA reception and transmission. | |
HAL_StatusTypeDef | HAL_ETH_Start_IT (ETH_HandleTypeDef *heth) |
Enables Ethernet MAC and DMA reception/transmission in Interrupt mode. | |
HAL_StatusTypeDef | HAL_ETH_Stop (ETH_HandleTypeDef *heth) |
Stop Ethernet MAC and DMA reception/transmission. | |
HAL_StatusTypeDef | HAL_ETH_Stop_IT (ETH_HandleTypeDef *heth) |
Stop Ethernet MAC and DMA reception/transmission in Interrupt mode. | |
HAL_StatusTypeDef | HAL_ETH_ReadData (ETH_HandleTypeDef *heth, void **pAppBuff) |
Read a received packet. | |
HAL_StatusTypeDef | HAL_ETH_RegisterRxAllocateCallback (ETH_HandleTypeDef *heth, pETH_rxAllocateCallbackTypeDef rxAllocateCallback) |
Register the Rx alloc callback. | |
HAL_StatusTypeDef | HAL_ETH_UnRegisterRxAllocateCallback (ETH_HandleTypeDef *heth) |
Unregister the Rx alloc callback. | |
HAL_StatusTypeDef | HAL_ETH_RegisterRxLinkCallback (ETH_HandleTypeDef *heth, pETH_rxLinkCallbackTypeDef rxLinkCallback) |
Set the Rx link data function. | |
HAL_StatusTypeDef | HAL_ETH_UnRegisterRxLinkCallback (ETH_HandleTypeDef *heth) |
Unregister the Rx link callback. | |
HAL_StatusTypeDef | HAL_ETH_GetRxDataErrorCode (const ETH_HandleTypeDef *heth, uint32_t *pErrorCode) |
Get the error state of the last received packet. | |
HAL_StatusTypeDef | HAL_ETH_RegisterTxFreeCallback (ETH_HandleTypeDef *heth, pETH_txFreeCallbackTypeDef txFreeCallback) |
Set the Tx free function. | |
HAL_StatusTypeDef | HAL_ETH_UnRegisterTxFreeCallback (ETH_HandleTypeDef *heth) |
Unregister the Tx free callback. | |
HAL_StatusTypeDef | HAL_ETH_ReleaseTxPacket (ETH_HandleTypeDef *heth) |
Release transmitted Tx packets. | |
HAL_StatusTypeDef | HAL_ETH_Transmit (ETH_HandleTypeDef *heth, ETH_TxPacketConfigTypeDef *pTxConfig, uint32_t Timeout) |
Sends an Ethernet Packet in polling mode. | |
HAL_StatusTypeDef | HAL_ETH_Transmit_IT (ETH_HandleTypeDef *heth, ETH_TxPacketConfigTypeDef *pTxConfig) |
Sends an Ethernet Packet in interrupt mode. | |
HAL_StatusTypeDef | HAL_ETH_WritePHYRegister (const ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg, uint32_t RegValue) |
Writes to a PHY register. | |
HAL_StatusTypeDef | HAL_ETH_ReadPHYRegister (ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg, uint32_t *pRegValue) |
Read a PHY register. | |
void | HAL_ETH_IRQHandler (ETH_HandleTypeDef *heth) |
This function handles ETH interrupt request. | |
void | HAL_ETH_TxCpltCallback (ETH_HandleTypeDef *heth) |
Tx Transfer completed callbacks. | |
void | HAL_ETH_RxCpltCallback (ETH_HandleTypeDef *heth) |
Rx Transfer completed callbacks. | |
void | HAL_ETH_ErrorCallback (ETH_HandleTypeDef *heth) |
Ethernet transfer error callbacks. | |
void | HAL_ETH_PMTCallback (ETH_HandleTypeDef *heth) |
Ethernet Power Management module IT callback. | |
void | HAL_ETH_WakeUpCallback (ETH_HandleTypeDef *heth) |
ETH WAKEUP interrupt callback. | |
void | HAL_ETH_RxAllocateCallback (uint8_t **buff) |
Rx Allocate callback. | |
void | HAL_ETH_RxLinkCallback (void **pStart, void **pEnd, uint8_t *buff, uint16_t Length) |
Rx Link callback. | |
void | HAL_ETH_TxFreeCallback (uint32_t *buff) |
Tx Free callback. | |
void | HAL_ETH_TxPtpCallback (uint32_t *buff, ETH_TimeStampTypeDef *timestamp) |
ETH Transmit and Receive functions.
============================================================================== ##### IO operation functions ##### ============================================================================== [..] This subsection provides a set of functions allowing to manage the ETH data transfer.
HAL_StatusTypeDef HAL_ETH_Start | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Enables Ethernet MAC and DMA reception and transmission.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 708 of file stm32f4xx_hal_eth.c.
References ETH_FlushTransmitFIFO(), ETH_REG_WRITE_DELAY, ETH_RX_DESC_CNT, ETH_UpdateDescriptor(), ETH_HandleTypeDef::gState, HAL_Delay(), HAL_ERROR, HAL_ETH_STATE_BUSY, HAL_ETH_STATE_READY, HAL_ETH_STATE_STARTED, HAL_OK, ETH_HandleTypeDef::Instance, ETH_RxDescListTypeDef::RxBuildDescCnt, and ETH_HandleTypeDef::RxDescList.
HAL_StatusTypeDef HAL_ETH_Start_IT | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Enables Ethernet MAC and DMA reception/transmission in Interrupt mode.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 765 of file stm32f4xx_hal_eth.c.
References __HAL_ETH_DMA_ENABLE_IT, ETH_FlushTransmitFIFO(), ETH_REG_WRITE_DELAY, ETH_RX_DESC_CNT, ETH_UpdateDescriptor(), ETH_HandleTypeDef::gState, HAL_Delay(), HAL_ERROR, HAL_ETH_STATE_BUSY, HAL_ETH_STATE_READY, HAL_ETH_STATE_STARTED, HAL_OK, ETH_HandleTypeDef::Instance, ETH_RxDescListTypeDef::ItMode, ETH_RxDescListTypeDef::RxBuildDescCnt, and ETH_HandleTypeDef::RxDescList.
HAL_StatusTypeDef HAL_ETH_Stop | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Stop Ethernet MAC and DMA reception/transmission.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 833 of file stm32f4xx_hal_eth.c.
References ETH_FlushTransmitFIFO(), ETH_REG_WRITE_DELAY, ETH_HandleTypeDef::gState, HAL_Delay(), HAL_ERROR, HAL_ETH_STATE_BUSY, HAL_ETH_STATE_READY, HAL_ETH_STATE_STARTED, HAL_OK, and ETH_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_ETH_Stop_IT | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Stop Ethernet MAC and DMA reception/transmission in Interrupt mode.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 886 of file stm32f4xx_hal_eth.c.
References __HAL_ETH_DMA_DISABLE_IT, ETH_DMADescTypeDef::DESC1, ETH_DMARXDESC_DIC, ETH_FlushTransmitFIFO(), ETH_REG_WRITE_DELAY, ETH_RX_DESC_CNT, ETH_HandleTypeDef::gState, HAL_Delay(), HAL_ERROR, HAL_ETH_STATE_BUSY, HAL_ETH_STATE_READY, HAL_ETH_STATE_STARTED, HAL_OK, ETH_HandleTypeDef::Instance, ETH_RxDescListTypeDef::ItMode, ETH_RxDescListTypeDef::RxDesc, and ETH_HandleTypeDef::RxDescList.
HAL_StatusTypeDef HAL_ETH_ReadData | ( | ETH_HandleTypeDef * | heth, |
void ** | pAppBuff ) |
#include <stm32f4xx_hal_eth.h>
Read a received packet.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
pAppBuff | Pointer to an application buffer to receive the packet. |
HAL | status |
Definition at line 1083 of file stm32f4xx_hal_eth.c.
References ETH_DMADescTypeDef::BackupAddr0, ETH_DMADescTypeDef::DESC0, ETH_DMADescTypeDef::DESC2, ETH_DMADescTypeDef::DESC6, ETH_DMADescTypeDef::DESC7, ETH_HandleTypeDef::ErrorCode, ETH_DMARXDESC_FL, ETH_DMARXDESC_FRAMELENGTHSHIFT, ETH_DMARXDESC_FS, ETH_DMARXDESC_LS, ETH_DMARXDESC_OWN, ETH_RX_DESC_CNT, ETH_UpdateDescriptor(), ETH_HandleTypeDef::gState, HAL_ERROR, HAL_ETH_ERROR_PARAM, HAL_ETH_RxLinkCallback(), HAL_ETH_STATE_STARTED, HAL_OK, INCR_RX_DESC_INDEX, ETH_RxDescListTypeDef::pRxEnd, ETH_RxDescListTypeDef::pRxLastRxDesc, ETH_RxDescListTypeDef::pRxStart, ETH_RxDescListTypeDef::RxBuildDescCnt, ETH_RxDescListTypeDef::RxDataLength, ETH_RxDescListTypeDef::RxDesc, ETH_RxDescListTypeDef::RxDescCnt, ETH_RxDescListTypeDef::RxDescIdx, ETH_HandleTypeDef::RxDescList, ETH_HandleTypeDef::rxLinkCallback, ETH_RxDescListTypeDef::TimeStamp, ETH_TimeStampTypeDef::TimeStampHigh, and ETH_TimeStampTypeDef::TimeStampLow.
HAL_StatusTypeDef HAL_ETH_RegisterRxAllocateCallback | ( | ETH_HandleTypeDef * | heth, |
pETH_rxAllocateCallbackTypeDef | rxAllocateCallback ) |
#include <stm32f4xx_hal_eth.h>
Register the Rx alloc callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
rxAllocateCallback | pointer to function to alloc buffer |
HAL | status |
Definition at line 1277 of file stm32f4xx_hal_eth.c.
References HAL_ERROR, HAL_OK, and ETH_HandleTypeDef::rxAllocateCallback.
HAL_StatusTypeDef HAL_ETH_UnRegisterRxAllocateCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Unregister the Rx alloc callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 1298 of file stm32f4xx_hal_eth.c.
References HAL_ETH_RxAllocateCallback(), HAL_OK, and ETH_HandleTypeDef::rxAllocateCallback.
HAL_StatusTypeDef HAL_ETH_RegisterRxLinkCallback | ( | ETH_HandleTypeDef * | heth, |
pETH_rxLinkCallbackTypeDef | rxLinkCallback ) |
#include <stm32f4xx_hal_eth.h>
Set the Rx link data function.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
rxLinkCallback | pointer to function to link data |
HAL | status |
Definition at line 1347 of file stm32f4xx_hal_eth.c.
References HAL_ERROR, HAL_OK, and ETH_HandleTypeDef::rxLinkCallback.
HAL_StatusTypeDef HAL_ETH_UnRegisterRxLinkCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Unregister the Rx link callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 1367 of file stm32f4xx_hal_eth.c.
References HAL_ETH_RxLinkCallback(), HAL_OK, and ETH_HandleTypeDef::rxLinkCallback.
HAL_StatusTypeDef HAL_ETH_GetRxDataErrorCode | ( | const ETH_HandleTypeDef * | heth, |
uint32_t * | pErrorCode ) |
#include <stm32f4xx_hal_eth.h>
Get the error state of the last received packet.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
pErrorCode | pointer to uint32_t to hold the error code |
HAL | status |
Definition at line 1382 of file stm32f4xx_hal_eth.c.
References ETH_DMARXDESC_ERRORS_MASK, HAL_OK, ETH_RxDescListTypeDef::pRxLastRxDesc, and ETH_HandleTypeDef::RxDescList.
HAL_StatusTypeDef HAL_ETH_RegisterTxFreeCallback | ( | ETH_HandleTypeDef * | heth, |
pETH_txFreeCallbackTypeDef | txFreeCallback ) |
#include <stm32f4xx_hal_eth.h>
Set the Tx free function.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
txFreeCallback | pointer to function to release the packet |
HAL | status |
Definition at line 1397 of file stm32f4xx_hal_eth.c.
References HAL_ERROR, HAL_OK, and ETH_HandleTypeDef::txFreeCallback.
HAL_StatusTypeDef HAL_ETH_UnRegisterTxFreeCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Unregister the Tx free callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 1417 of file stm32f4xx_hal_eth.c.
References HAL_ETH_TxFreeCallback(), HAL_OK, and ETH_HandleTypeDef::txFreeCallback.
HAL_StatusTypeDef HAL_ETH_ReleaseTxPacket | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Release transmitted Tx packets.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 1445 of file stm32f4xx_hal_eth.c.
References ETH_TxDescListTypeDef::BuffersInUse, ETH_DMADescTypeDef::DESC0, ETH_DMADescTypeDef::DESC3, ETH_DMADescTypeDef::DESC6, ETH_DMADescTypeDef::DESC7, ETH_DMATXDESC_LS, ETH_DMATXDESC_OWN, ETH_DMATXDESC_TTSS, HAL_ETH_TxFreeCallback(), HAL_ETH_TxPtpCallback(), HAL_OK, INCR_TX_DESC_INDEX, ETH_HandleTypeDef::Init, ETH_TxDescListTypeDef::PacketAddress, ETH_TxDescListTypeDef::releaseIndex, ETH_TimeStampTypeDef::TimeStampHigh, ETH_TimeStampTypeDef::TimeStampLow, ETH_InitTypeDef::TxDesc, ETH_HandleTypeDef::TxDescList, ETH_HandleTypeDef::txFreeCallback, and ETH_HandleTypeDef::txPtpCallback.
HAL_StatusTypeDef HAL_ETH_Transmit | ( | ETH_HandleTypeDef * | heth, |
ETH_TxPacketConfigTypeDef * | pTxConfig, | ||
uint32_t | Timeout ) |
#include <stm32f4xx_hal_eth.h>
Sends an Ethernet Packet in polling mode.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
pTxConfig | Hold the configuration of packet to be transmitted |
Timeout | timeout value |
HAL | status |
Definition at line 956 of file stm32f4xx_hal_eth.c.
References ETH_TxDescListTypeDef::CurTxDesc, ETH_DMADescTypeDef::DESC0, ETH_HandleTypeDef::DMAErrorCode, ETH_HandleTypeDef::ErrorCode, ETH_DMATXDESC_FS, ETH_DMATXDESC_LS, ETH_DMATXDESC_OWN, ETH_Prepare_Tx_Descriptors(), ETH_HandleTypeDef::gState, HAL_ERROR, HAL_ETH_ERROR_BUSY, HAL_ETH_ERROR_DMA, HAL_ETH_ERROR_NONE, HAL_ETH_ERROR_PARAM, HAL_ETH_ERROR_TIMEOUT, HAL_ETH_STATE_STARTED, HAL_GetTick(), HAL_MAX_DELAY, HAL_OK, INCR_TX_DESC_INDEX, ETH_HandleTypeDef::Instance, ETH_TxDescListTypeDef::TxDesc, and ETH_HandleTypeDef::TxDescList.
HAL_StatusTypeDef HAL_ETH_Transmit_IT | ( | ETH_HandleTypeDef * | heth, |
ETH_TxPacketConfigTypeDef * | pTxConfig ) |
#include <stm32f4xx_hal_eth.h>
Sends an Ethernet Packet in interrupt mode.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
pTxConfig | Hold the configuration of packet to be transmitted |
HAL | status |
Definition at line 1031 of file stm32f4xx_hal_eth.c.
References ETH_TxDescListTypeDef::CurrentPacketAddress, ETH_TxDescListTypeDef::CurTxDesc, ETH_HandleTypeDef::ErrorCode, ETH_Prepare_Tx_Descriptors(), ETH_HandleTypeDef::gState, HAL_ERROR, HAL_ETH_ERROR_BUSY, HAL_ETH_ERROR_NONE, HAL_ETH_ERROR_PARAM, HAL_ETH_STATE_STARTED, HAL_OK, INCR_TX_DESC_INDEX, ETH_HandleTypeDef::Instance, ETH_TxPacketConfigTypeDef::pData, and ETH_HandleTypeDef::TxDescList.
HAL_StatusTypeDef HAL_ETH_WritePHYRegister | ( | const ETH_HandleTypeDef * | heth, |
uint32_t | PHYAddr, | ||
uint32_t | PHYReg, | ||
uint32_t | RegValue ) |
#include <stm32f4xx_hal_eth.h>
Writes to a PHY register.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
PHYAddr | PHY port address, must be a value from 0 to 31 |
PHYReg | PHY register address, must be a value from 0 to 31 |
RegValue | the value to write |
HAL | status |
Definition at line 2132 of file stm32f4xx_hal_eth.c.
References HAL_ERROR, HAL_GetTick(), HAL_OK, ETH_HandleTypeDef::Instance, and PHY_WRITE_TO.
HAL_StatusTypeDef HAL_ETH_ReadPHYRegister | ( | ETH_HandleTypeDef * | heth, |
uint32_t | PHYAddr, | ||
uint32_t | PHYReg, | ||
uint32_t * | pRegValue ) |
#include <stm32f4xx_hal_eth.h>
Read a PHY register.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
PHYAddr | PHY port address, must be a value from 0 to 31 |
PHYReg | PHY register address, must be a value from 0 to 31 |
pRegValue | parameter to hold read value |
HAL | status |
Definition at line 2081 of file stm32f4xx_hal_eth.c.
References HAL_ERROR, HAL_GetTick(), HAL_OK, ETH_HandleTypeDef::Instance, and PHY_READ_TO.
void HAL_ETH_IRQHandler | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
This function handles ETH interrupt request.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
HAL | status |
Definition at line 1890 of file stm32f4xx_hal_eth.c.
References __HAL_ETH_DMA_CLEAR_IT, __HAL_ETH_DMA_DISABLE_IT, __HAL_ETH_WAKEUP_EXTI_CLEAR_FLAG, ETH_HandleTypeDef::DMAErrorCode, ETH_HandleTypeDef::ErrorCode, ETH_MAC_PMT_IT, ETH_WAKEUP_EXTI_LINE, ETH_HandleTypeDef::gState, HAL_ETH_ERROR_DMA, HAL_ETH_ErrorCallback(), HAL_ETH_PMTCallback(), HAL_ETH_RxCpltCallback(), HAL_ETH_STATE_ERROR, HAL_ETH_TxCpltCallback(), HAL_ETH_WakeUpCallback(), ETH_HandleTypeDef::Instance, and ETH_HandleTypeDef::MACWakeUpEvent.
__weak void HAL_ETH_TxCpltCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Tx Transfer completed callbacks.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
None |
Definition at line 2002 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_IRQHandler().
__weak void HAL_ETH_RxCpltCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Rx Transfer completed callbacks.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
None |
Definition at line 2017 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_IRQHandler().
__weak void HAL_ETH_ErrorCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Ethernet transfer error callbacks.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
None |
Definition at line 2032 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_IRQHandler().
__weak void HAL_ETH_PMTCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
Ethernet Power Management module IT callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
None |
Definition at line 2047 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_IRQHandler().
__weak void HAL_ETH_WakeUpCallback | ( | ETH_HandleTypeDef * | heth | ) |
#include <stm32f4xx_hal_eth.h>
ETH WAKEUP interrupt callback.
heth | pointer to a ETH_HandleTypeDef structure that contains the configuration information for ETHERNET module |
None |
Definition at line 2063 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_IRQHandler().
__weak void HAL_ETH_RxAllocateCallback | ( | uint8_t ** | buff | ) |
#include <stm32f4xx_hal_eth.h>
Rx Allocate callback.
buff | pointer to allocated buffer |
None |
Definition at line 1311 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by ETH_UpdateDescriptor(), and HAL_ETH_UnRegisterRxAllocateCallback().
__weak void HAL_ETH_RxLinkCallback | ( | void ** | pStart, |
void ** | pEnd, | ||
uint8_t * | buff, | ||
uint16_t | Length ) |
#include <stm32f4xx_hal_eth.h>
Rx Link callback.
pStart | pointer to packet start |
pEnd | pointer to packet end |
buff | pointer to received data |
Length | received data length |
None |
Definition at line 1328 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_ReadData(), and HAL_ETH_UnRegisterRxLinkCallback().
__weak void HAL_ETH_TxFreeCallback | ( | uint32_t * | buff | ) |
#include <stm32f4xx_hal_eth.h>
Tx Free callback.
buff | pointer to buffer to free |
None |
Definition at line 1430 of file stm32f4xx_hal_eth.c.
References UNUSED.
Referenced by HAL_ETH_ReleaseTxPacket(), and HAL_ETH_UnRegisterTxFreeCallback().
void HAL_ETH_TxPtpCallback | ( | uint32_t * | buff, |
ETH_TimeStampTypeDef * | timestamp ) |
#include <stm32f4xx_hal_eth.h>
Referenced by HAL_ETH_ReleaseTxPacket().