Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
FreeRTOS website now available in Simplified Chinese
New FreeRTOS Long Term Support version now available.
FreeRTOS Extended Maintenance Program (EMP) registration now open.
FreeRTOS-Plus-TCP v3.0.0 released:
Featured FreeRTOS IoT Integrations:

vReleaseNetworkBufferAndDescriptor()
[Ethernet Driver Porting API]

FreeRTOS_IP_Private.h
NetworkBufferManagement.h
void vReleaseNetworkBufferAndDescriptor( NetworkBufferDescriptor_t * const pxNetworkBuffer );
		

Returns to the TCP/IP stack a network buffer descriptor that was previously obtained from the TCP/IP stack by a call to pxGetNetworkBufferWithDescriptor().

If the network buffer descriptor references an Ethernet buffer then the Ethernet buffer is also returned.

pxGetNetworkBufferWithDescriptor() must not be called from an interrupt service routine (ISR).


Parameters:

pxNetworkBuffer   A pointer to the network buffer descriptor being released (returned to the TCP/IP stack).


Example usage:

Examples are provided on the Porting FreeRTOS to a Different Microcontroller page.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.