Example code for Simple Open EtherCAT master. More...
#include <stdio.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"
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
int main | ( | int | argc, | |
char * | argv[] | |||
) |
void simpletest | ( | char * | ifname | ) |
char IOmap[4096] |