Example code for Simple Open EtherCAT master. More...
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "ethercattype.h"
#include "nicdrv.h"
#include "ethercatbase.h"
#include "ethercatmain.h"
#include "ethercatcoe.h"
#include "ethercatfoe.h"
#include "ethercatconfig.h"
#include "ethercatprint.h"
Go to the source code of this file.
Functions | |
void | simpletest (char *ifname) |
int | main (int argc, char *argv[]) |
Variables | |
char | IOmap [4096] |
Example code for Simple Open EtherCAT master.
Usage : simple_test [ifname1] ifname is NIC interface, f.e. eth0
This is a minimal test.
(c)Arthur Ketels 2010 - 2011
Definition in file simple_test.c.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
void simpletest | ( | char * | ifname | ) |
Definition at line 28 of file simple_test.c.
char IOmap[4096] |
Definition at line 26 of file simple_test.c.