include/ecrt.h
branchredundancy
changeset 2381 9efaf2a0cc48
parent 2380 cf9db49bcce8
child 2419 fdb85a806585
equal deleted inserted replaced
2380:cf9db49bcce8 2381:9efaf2a0cc48
    42  * Changed since 1.5:
    42  * Changed since 1.5:
    43  *
    43  *
    44  * - Added redundancy_active flag to ec_domain_state_t.
    44  * - Added redundancy_active flag to ec_domain_state_t.
    45  * - Added ecrt_master_link_state() method and ec_master_link_state_t to query
    45  * - Added ecrt_master_link_state() method and ec_master_link_state_t to query
    46  *   the state of a redundant link.
    46  *   the state of a redundant link.
       
    47  * - Added the EC_HAVE_REDUNDANCY define, to check, if the interface contains
       
    48  *   redundancy features.
    47  *
    49  *
    48  * Changes in version 1.5:
    50  * Changes in version 1.5:
    49  *
    51  *
    50  * - Added the distributed clocks feature and the respective method
    52  * - Added the distributed clocks feature and the respective method
    51  *   ecrt_slave_config_dc() to configure a slave for cyclic operation, and
    53  *   ecrt_slave_config_dc() to configure a slave for cyclic operation, and
   123 
   125 
   124 /** EtherCAT realtime interface version word.
   126 /** EtherCAT realtime interface version word.
   125  */
   127  */
   126 #define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR)
   128 #define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR)
   127 
   129 
       
   130 /******************************************************************************
       
   131  * Feature flags
       
   132  *****************************************************************************/
       
   133 
       
   134 /** Defined, if the redundancy features are available.
       
   135  *
       
   136  * I. e. if the \a redundancy_active flag in ec_domain_state_t and the
       
   137  * ecrt_master_link_state() method are available.
       
   138  */
       
   139 #define EC_HAVE_REDUNDANCY
       
   140 
   128 /*****************************************************************************/
   141 /*****************************************************************************/
   129 
   142 
   130 /** End of list marker.
   143 /** End of list marker.
   131  *
   144  *
   132  * This can be used with ecrt_slave_config_pdos().
   145  * This can be used with ecrt_slave_config_pdos().