master/globals.h
branchstable-1.5
changeset 2419 fdb85a806585
parent 2241 0ba77ef52922
parent 2374 e898451c054a
child 2449 5db725cc40f9
equal deleted inserted replaced
2417:63bef67e812b 2419:fdb85a806585
   194     EC_SDO_ENTRY_ACCESS_SAFEOP, /**< Access rights in SAFEOP. */
   194     EC_SDO_ENTRY_ACCESS_SAFEOP, /**< Access rights in SAFEOP. */
   195     EC_SDO_ENTRY_ACCESS_OP, /**< Access rights in OP. */
   195     EC_SDO_ENTRY_ACCESS_OP, /**< Access rights in OP. */
   196     EC_SDO_ENTRY_ACCESS_COUNT /**< Number of states. */
   196     EC_SDO_ENTRY_ACCESS_COUNT /**< Number of states. */
   197 };
   197 };
   198 
   198 
       
   199 /** Master devices.
       
   200  */
       
   201 typedef enum {
       
   202     EC_DEVICE_MAIN, /**< Main device. */
       
   203     EC_DEVICE_BACKUP, /**< Backup device */
       
   204     EC_NUM_DEVICES /**< Number of devices. */
       
   205 } ec_device_index_t;
       
   206 
       
   207 extern const char *ec_device_names[EC_NUM_DEVICES];
       
   208 
   199 /*****************************************************************************/
   209 /*****************************************************************************/
   200 
   210 
   201 /** Convenience macro for printing EtherCAT-specific information to syslog.
   211 /** Convenience macro for printing EtherCAT-specific information to syslog.
   202  *
   212  *
   203  * This will print the message in \a fmt with a prefixed "EtherCAT: ".
   213  * This will print the message in \a fmt with a prefixed "EtherCAT: ".