Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB
oshw.h
00001 /* 00002 * Licensed under the GNU General Public License version 2 with exceptions. See 00003 * LICENSE file in the project root for full license information 00004 */ 00005 00006 /** \file 00007 * \brief 00008 * Headerfile for oshw.c 00009 */ 00010 00011 #ifndef _oshw_ 00012 #define _oshw_ 00013 00014 #ifdef __cplusplus 00015 extern "C" 00016 { 00017 #endif 00018 00019 #include "ethercattype.h" 00020 #include "nicdrv.h" 00021 #include "ethercatmain.h" 00022 00023 00024 uint16 oshw_htons(uint16 host); 00025 uint16 oshw_ntohs(uint16 network); 00026 00027 ec_adaptert * oshw_find_adapters(void); 00028 void oshw_free_adapters(ec_adaptert * adapter); 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif
Generated on Tue Jul 12 2022 18:21:13 by
