Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

FreeRTOS_AddNetworkInterface()

[Ethernet Driver Porting API]

FreeRTOS_Routing.h
NetworkInterface_t * FreeRTOS_AddNetworkInterface( NetworkInterface_t * pxInterface );

FreeRTOS_AddNetworkInterface() is used to add a new physical Network Interface. The object pointed to by 'pxInterface' must continue to exist. Only the Network Interface function px${port_name}_FillInterfaceDescriptor() should call this function.

Parameters:

pxInterface
The address of the new interface. This object must continue to exist even after px${port_name}_FillInterfaceDescriptor()

Returns:
The pointer that points to interface itself.

Example usage:
Examples are provided on the Porting FreeRTOS to a Different Microcontroller page. Search for FreeRTOS_AddNetworkInterface() on that page to find example source code.

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