master/domain.h
changeset 809 ec4ef8911824
parent 792 3778920f61e4
child 818 b6c87ae254c9
equal deleted inserted replaced
808:1feddbd65608 809:ec4ef8911824
    58 
    58 
    59 struct ec_domain
    59 struct ec_domain
    60 {
    60 {
    61     struct kobject kobj; /**< kobject. */
    61     struct kobject kobj; /**< kobject. */
    62     struct list_head list; /**< List item. */
    62     struct list_head list; /**< List item. */
       
    63     ec_master_t *master; /**< EtherCAT master owning the domain. */
    63     unsigned int index; /**< Index (just a number). */
    64     unsigned int index; /**< Index (just a number). */
    64     ec_master_t *master; /**< EtherCAT master owning the domain. */
       
    65     size_t data_size; /**< Size of the process data. */
    65     size_t data_size; /**< Size of the process data. */
       
    66     uint8_t *data; /**< Memory for the process data. */
       
    67     ec_origin_t data_origin; /**< Origin of the \a data memory. */
    66     struct list_head datagrams; /**< Datagrams for process data exchange. */
    68     struct list_head datagrams; /**< Datagrams for process data exchange. */
    67     uint32_t base_address; /**< Logical offset address of the process data. */
    69     uint32_t logical_base_address; /**< Logical offset address of the
       
    70                                      process data. */
    68     unsigned int working_counter; /**< Last working counter value. */
    71     unsigned int working_counter; /**< Last working counter value. */
    69     unsigned int state; /**< Error state. */
    72     unsigned int state; /**< Error state. */
    70     unsigned int working_counter_changes; /**< Working counter changes
    73     unsigned int working_counter_changes; /**< Working counter changes
    71                                              since last notification. */
    74                                              since last notification. */
    72     unsigned long notify_jiffies; /**< Time of last notification. */
    75     unsigned long notify_jiffies; /**< Time of last notification. */