equal
deleted
inserted
replaced
43 * - Imlemented the Vendor-specific over EtherCAT mailbox protocol. See |
43 * - Imlemented the Vendor-specific over EtherCAT mailbox protocol. See |
44 * ecrt_slave_config_create_voe_handler(). |
44 * ecrt_slave_config_create_voe_handler(). |
45 * - Renamed ec_sdo_request_state_t to ec_request_state_t, because it is also |
45 * - Renamed ec_sdo_request_state_t to ec_request_state_t, because it is also |
46 * used by VoE handlers. |
46 * used by VoE handlers. |
47 * - Added ecrt_master_slave() to get information about a certain slave. |
47 * - Added ecrt_master_slave() to get information about a certain slave. |
|
48 * - Removed 'const' from argument of ecrt_sdo_request_state(), because the |
|
49 * userspace library has to modify object internals. |
48 * |
50 * |
49 * Changes in Version 1.4: |
51 * Changes in Version 1.4: |
50 * |
52 * |
51 * - Replaced ec_slave_t with ec_slave_config_t, separating the bus |
53 * - Replaced ec_slave_t with ec_slave_config_t, separating the bus |
52 * configuration from the actual slaves. Therefore, renamed |
54 * configuration from the actual slaves. Therefore, renamed |
967 |
969 |
968 /** Get the current state of the SDO request. |
970 /** Get the current state of the SDO request. |
969 * |
971 * |
970 * \return Request state. |
972 * \return Request state. |
971 */ |
973 */ |
|
974 #ifdef __KERNEL__ |
972 ec_request_state_t ecrt_sdo_request_state( |
975 ec_request_state_t ecrt_sdo_request_state( |
973 const ec_sdo_request_t *req /**< SDO request. */ |
976 const ec_sdo_request_t *req /**< SDO request. */ |
974 ); |
977 ); |
|
978 #else |
|
979 ec_request_state_t ecrt_sdo_request_state( |
|
980 ec_sdo_request_t *req /**< SDO request. */ |
|
981 ); |
|
982 #endif |
975 |
983 |
976 /** Schedule an SDO write operation. |
984 /** Schedule an SDO write operation. |
977 * |
985 * |
978 * \attention This method may not be called while ecrt_sdo_request_state() |
986 * \attention This method may not be called while ecrt_sdo_request_state() |
979 * returns EC_SDO_REQUEST_BUSY. |
987 * returns EC_SDO_REQUEST_BUSY. |