equal
deleted
inserted
replaced
84 uint8_t pdo_subindex; /**< PDO subindex */ |
84 uint8_t pdo_subindex; /**< PDO subindex */ |
85 void **data_ptr; /**< address of the process data pointer */ |
85 void **data_ptr; /**< address of the process data pointer */ |
86 } |
86 } |
87 ec_pdo_reg_t; |
87 ec_pdo_reg_t; |
88 |
88 |
|
89 /** |
|
90 Direction type for ec_domain_register_pdo_range() |
|
91 */ |
|
92 |
|
93 typedef enum {EC_DIR_INPUT, EC_DIR_OUTPUT} ec_direction_t; |
|
94 |
89 /****************************************************************************** |
95 /****************************************************************************** |
90 * Master request functions |
96 * Master request functions |
91 *****************************************************************************/ |
97 *****************************************************************************/ |
92 |
98 |
93 ec_master_t *ecrt_request_master(unsigned int master_index); |
99 ec_master_t *ecrt_request_master(unsigned int master_index); |
125 uint32_t vendor_id, |
131 uint32_t vendor_id, |
126 uint32_t product_code, |
132 uint32_t product_code, |
127 uint16_t pdo_index, |
133 uint16_t pdo_index, |
128 uint8_t pdo_subindex, |
134 uint8_t pdo_subindex, |
129 void **data_ptr); |
135 void **data_ptr); |
|
136 |
130 int ecrt_domain_register_pdo_list(ec_domain_t *domain, |
137 int ecrt_domain_register_pdo_list(ec_domain_t *domain, |
131 const ec_pdo_reg_t *pdos); |
138 const ec_pdo_reg_t *pdos); |
|
139 |
|
140 ec_slave_t *ecrt_domain_register_pdo_range(ec_domain_t *domain, |
|
141 const char *address, |
|
142 uint32_t vendor_id, |
|
143 uint32_t product_code, |
|
144 ec_direction_t direction, |
|
145 uint16_t offset, |
|
146 uint16_t length, |
|
147 void **data_ptr); |
132 |
148 |
133 void ecrt_domain_process(ec_domain_t *domain); |
149 void ecrt_domain_process(ec_domain_t *domain); |
134 int ecrt_domain_state(const ec_domain_t *domain); |
150 int ecrt_domain_state(const ec_domain_t *domain); |
135 |
151 |
136 /****************************************************************************** |
152 /****************************************************************************** |