master/domain.h
changeset 2635 42b62867574d
parent 2613 7208f4341104
equal deleted inserted replaced
2634:f859d567f94e 2635:42b62867574d
    70     uint16_t expected_working_counter; /**< Expected working counter. */
    70     uint16_t expected_working_counter; /**< Expected working counter. */
    71     unsigned int working_counter_changes; /**< Working counter changes
    71     unsigned int working_counter_changes; /**< Working counter changes
    72                                              since last notification. */
    72                                              since last notification. */
    73     unsigned int redundancy_active; /**< Non-zero, if redundancy is in use. */
    73     unsigned int redundancy_active; /**< Non-zero, if redundancy is in use. */
    74     unsigned long notify_jiffies; /**< Time of last notification. */
    74     unsigned long notify_jiffies; /**< Time of last notification. */
       
    75     uint32_t offset_used[EC_DIR_COUNT]; /**< Next available domain offset of
       
    76         PDO, by direction */
       
    77     const ec_slave_config_t *sc_in_work; /**< slave_config which is actively
       
    78         being registered in this domain
       
    79         (i.e. ecrt_slave_config_reg_pdo_entry() ) */
    75 };
    80 };
    76 
    81 
    77 /*****************************************************************************/
    82 /*****************************************************************************/
    78 
    83 
    79 void ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int);
    84 void ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int);