Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

已更新 2025年5月

FreeRTOS_FirstEndPoint()

[以太网驱动程序移植 API]

FreeRTOS_Routing.h

1NetworkEndPoint_t * FreeRTOS_FirstEndPoint( const NetworkInterface_t * pxInterface );

FreeRTOS_FirstEndPoint() 用于查找绑定到给定接口的第一个端点。如果给定接口为 NULL, 则返回任何接口的第一个端点。

参数:

pxInterface 新接口的地址。该对象必须继续存在,即使在

返回:

当接口没有任何端点时,返回找到的第一个端点,否则返回 NULL。

用法示例:

“将 FreeRTOS 移植到不同的微控制器”页面上提供了示例 。在该页面上搜索 FreeRTOS_FirstEndPoint(),即可找到示例源代码。