drivers/ec_command.h
changeset 41 42c66194c0c8
parent 39 6965c23a6826
equal deleted inserted replaced
40:d07ebafe62dd 41:42c66194c0c8
    11 #ifndef _EC_COMMAND_H_
    11 #ifndef _EC_COMMAND_H_
    12 #define _EC_COMMAND_H_
    12 #define _EC_COMMAND_H_
    13 
    13 
    14 #include "ec_globals.h"
    14 #include "ec_globals.h"
    15 
    15 
       
    16 /*****************************************************************************/
       
    17 
    16 /**
    18 /**
    17    Status eines EtherCAT-Kommandos.
    19    Status eines EtherCAT-Kommandos.
    18 */
    20 */
    19 
    21 
    20 typedef enum
    22 typedef enum
    21 {
    23 {
    22   ECAT_CS_READY, ECAT_CS_SENT, ECAT_CS_RECEIVED
    24   ECAT_CS_READY, ECAT_CS_SENT, ECAT_CS_RECEIVED
    23 }
    25 }
    24 EtherCAT_command_state_t;
    26 EtherCAT_command_state_t;
       
    27 
       
    28 /*****************************************************************************/
    25 
    29 
    26 /**
    30 /**
    27    EtherCAT-Adresse.
    31    EtherCAT-Adresse.
    28 
    32 
    29    Im EtherCAT-Rahmen sind 4 Bytes für die Adresse reserviert, die
    33    Im EtherCAT-Rahmen sind 4 Bytes für die Adresse reserviert, die