SOEM
oshw
rtk
rtk/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
{
17
#endif
18
19
#include <kern.h>
20
#include "
ethercattype.h
"
21
#include "
nicdrv.h
"
22
#include "
ethercatmain.h
"
23
24
25
uint16
oshw_htons
(
uint16
host);
26
uint16
oshw_ntohs
(
uint16
network);
27
28
ec_adaptert
*
oshw_find_adapters
(
void
);
29
void
oshw_free_adapters
(
ec_adaptert
* adapter);
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
oshw_htons
uint16 oshw_htons(uint16 host)
Definition:
erika/oshw.c:31
nicdrv.h
Headerfile for nicdrv.c.
oshw_free_adapters
void oshw_free_adapters(ec_adaptert *adapter)
Definition:
erika/oshw.c:74
oshw_find_adapters
ec_adaptert * oshw_find_adapters(void)
Definition:
erika/oshw.c:52
uint16
uint16_t uint16
Definition:
osal.h:29
ethercattype.h
General typedefs and defines for EtherCAT.
oshw_ntohs
uint16 oshw_ntohs(uint16 network)
Definition:
erika/oshw.c:43
ec_adapter
Definition:
ethercatmain.h:44
ethercatmain.h
Headerfile for ethercatmain.c.
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Mon Feb 28 2022 23:46:57