master/domain.h
changeset 2589 2b9c78543663
parent 1981 c14b6bb14fdf
child 2611 f09b0623a2c1
equal deleted inserted replaced
2415:af21f0bdc7c9 2589:2b9c78543663
    57     ec_master_t *master; /**< EtherCAT master owning the domain. */
    57     ec_master_t *master; /**< EtherCAT master owning the domain. */
    58     unsigned int index; /**< Index (just a number). */
    58     unsigned int index; /**< Index (just a number). */
    59 
    59 
    60     struct list_head fmmu_configs; /**< FMMU configurations contained. */
    60     struct list_head fmmu_configs; /**< FMMU configurations contained. */
    61     size_t data_size; /**< Size of the process data. */
    61     size_t data_size; /**< Size of the process data. */
    62     size_t tx_size; /**< Size of the transmitted data. */
       
    63     uint8_t *data; /**< Memory for the process data. */
    62     uint8_t *data; /**< Memory for the process data. */
    64     ec_origin_t data_origin; /**< Origin of the \a data memory. */
    63     ec_origin_t data_origin; /**< Origin of the \a data memory. */
    65     uint32_t logical_base_address; /**< Logical offset address of the
    64     uint32_t logical_base_address; /**< Logical offset address of the
    66                                      process data. */
    65                                      process data. */
    67     struct list_head datagrams; /**< Datagrams for process data exchange. */
    66     struct list_head datagram_pairs; /**< Datagrams pairs (main/backup) for
    68 
    67                                        process data exchange. */
    69     uint16_t working_counter; /**< Last working counter value. */
    68     uint16_t working_counter[EC_MAX_NUM_DEVICES]; /**< Last working counter
       
    69                                                 values. */
    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 long notify_jiffies; /**< Time of last notification. */
    74     unsigned long notify_jiffies; /**< Time of last notification. */
    74 };
    75 };
    75 
    76 
    76 /*****************************************************************************/
    77 /*****************************************************************************/
    77 
    78