equal
deleted
inserted
replaced
7 * $Date$ |
7 * $Date$ |
8 * $Author$ |
8 * $Author$ |
9 * |
9 * |
10 ***************************************************************/ |
10 ***************************************************************/ |
11 |
11 |
12 #include <linux/kernel.h> |
12 #include <linux/module.h> |
13 |
13 |
14 #include "ec_globals.h" |
14 #include "ec_globals.h" |
15 #include "ec_slave.h" |
15 #include "ec_slave.h" |
16 #include "ec_dbg.h" |
16 #include "ec_dbg.h" |
17 |
17 |
110 } |
110 } |
111 |
111 |
112 return slave->desc->read(slave->process_data, channel); |
112 return slave->desc->read(slave->process_data, channel); |
113 } |
113 } |
114 |
114 |
115 EXPORT_SYMBOL(EtherCAT_read_value); |
|
116 |
|
117 /***************************************************************/ |
115 /***************************************************************/ |
118 |
116 |
119 /** |
117 /** |
120 Schreibt einen bestimmten Kanal des Slaves als Integer-Wert . |
118 Schreibt einen bestimmten Kanal des Slaves als Integer-Wert . |
121 |
119 |
162 } |
160 } |
163 |
161 |
164 slave->desc->write(slave->process_data, channel, value); |
162 slave->desc->write(slave->process_data, channel, value); |
165 } |
163 } |
166 |
164 |
|
165 /***************************************************************/ |
|
166 |
167 EXPORT_SYMBOL(EtherCAT_write_value); |
167 EXPORT_SYMBOL(EtherCAT_write_value); |
168 |
168 EXPORT_SYMBOL(EtherCAT_read_value); |
169 /***************************************************************/ |
|