equal
deleted
inserted
replaced
|
1 ------------------------------------------------------------------------------- |
|
2 |
|
3 $Id$ |
|
4 |
|
5 ------------------------------------------------------------------------------- |
|
6 |
|
7 This is a minimal example module for the use of the EtherCAT master realtime |
|
8 interface. It uses a kernel timer to generate a cyclic task. |
|
9 |
|
10 Most probably you'll have different EtherCAT slaves present. Try adjusting the |
|
11 section "process data" in mini.c to your bus configuration. |
|
12 |
|
13 There are some features that can be disabled by commenting out the respective |
|
14 defines at the head of mini.c. |
|
15 |
|
16 --- |
|
17 |
|
18 To build the example module, call: |
|
19 |
|
20 make modules |
|
21 |
|
22 To run it, call: |
|
23 |
|
24 insmod ec_mini.ko |
|
25 |
|
26 ...and watch the system logs for the outputs. |
|
27 |
|
28 ------------------------------------------------------------------------------- |