AB&T / SOEM

Dependents:   EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers oshw.h Source File

oshw.h

Go to the documentation of this file.
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