libec/libec.h
changeset 59 c8bd4fe3b38c
parent 58 21b7342e2a90
child 60 2d2b120ba734
equal deleted inserted replaced
58:21b7342e2a90 59:c8bd4fe3b38c
     1 /******************************************************************************
       
     2  *
       
     3  *  l i b e c . h
       
     4  *
       
     5  *  EtherCAT-Library fuer Echtzeitmodule
       
     6  *
       
     7  *  $Id$
       
     8  *
       
     9  *****************************************************************************/
       
    10 
       
    11 #ifndef _LIBEC_H_
       
    12 #define _LIBEC_H_
       
    13 
       
    14 #ifndef _ETHERCAT_RT_H_
       
    15 #include "../include/EtherCAT_rt.h"
       
    16 #endif
       
    17 
       
    18 /*****************************************************************************/
       
    19 
       
    20 int LEC_read_EL10XX(ec_slave_t *slave, unsigned int channel);
       
    21 int LEC_read_EL31XX(ec_slave_t *slave, unsigned int channel);
       
    22 
       
    23 void LEC_write_EL20XX(ec_slave_t *slave, unsigned int channel, int value);
       
    24 void LEC_write_EL41XX(ec_slave_t *slave, unsigned int channel, int value);
       
    25 
       
    26 /*****************************************************************************/
       
    27 
       
    28 #endif
       
    29 
       
    30 /* Emacs-Konfiguration
       
    31 ;;; Local Variables: ***
       
    32 ;;; c-basic-offset:4 ***
       
    33 ;;; End: ***
       
    34 */