SOEM
oshw
macosx
macosx/oshw.h
Go to the documentation of this file.
1
/*
2
* Licensed under the GNU General Public License version 2 with exceptions. See
3
* LICENSE file in the project root for full license information
4
*/
5
11
#ifndef _oshw_
12
#define _oshw_
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#include "
ethercattype.h
"
19
#include "
nicdrv.h
"
20
#include "
ethercatmain.h
"
21
22
uint16
oshw_htons
(
uint16
hostshort);
23
uint16
oshw_ntohs
(
uint16
networkshort);
24
ec_adaptert
*
oshw_find_adapters
(
void
);
25
void
oshw_free_adapters
(
ec_adaptert
* adapter);
26
27
#ifdef __cplusplus
28
}
29
#endif
30
31
#endif
nicdrv.h
Headerfile for nicdrv.c.
ethercatmain.h
Headerfile for ethercatmain.c.
ec_adapter
Definition:
ethercatmain.h:44
oshw_find_adapters
ec_adaptert * oshw_find_adapters(void)
Definition:
erika/oshw.c:52
oshw_free_adapters
void oshw_free_adapters(ec_adaptert *adapter)
Definition:
erika/oshw.c:74
uint16
uint16_t uint16
Definition:
osal.h:29
oshw_htons
uint16 oshw_htons(uint16 hostshort)
Definition:
erika/oshw.c:31
ethercattype.h
General typedefs and defines for EtherCAT.
oshw_ntohs
uint16 oshw_ntohs(uint16 networkshort)
Definition:
erika/oshw.c:43
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49