master/slave.h
changeset 139 998215ab9b92
parent 136 a03a684cac89
child 140 b09658e50d6f
equal deleted inserted replaced
138:7e743a61a991 139:998215ab9b92
   152 typedef struct
   152 typedef struct
   153 {
   153 {
   154     struct list_head list;
   154     struct list_head list;
   155     uint16_t index;
   155     uint16_t index;
   156     uint16_t type;
   156     uint16_t type;
   157     uint8_t max_subindex;
       
   158     uint8_t features;
   157     uint8_t features;
   159     char *name;
   158     char *name;
       
   159     struct list_head entries;
   160 }
   160 }
   161 ec_sdo_t;
   161 ec_sdo_t;
       
   162 
       
   163 /*****************************************************************************/
       
   164 
       
   165 /**
       
   166    CANopen-SDO-Entry.
       
   167 */
       
   168 
       
   169 typedef struct
       
   170 {
       
   171     struct list_head list;
       
   172     uint8_t subindex;
       
   173     uint16_t data_type;
       
   174     uint16_t bit_length;
       
   175     char *name;
       
   176 }
       
   177 ec_sdo_entry_t;
   162 
   178 
   163 /*****************************************************************************/
   179 /*****************************************************************************/
   164 
   180 
   165 /**
   181 /**
   166    EtherCAT-Slave
   182    EtherCAT-Slave