equal
deleted
inserted
replaced
386 } |
386 } |
387 |
387 |
388 /*****************************************************************************/ |
388 /*****************************************************************************/ |
389 |
389 |
390 /** Prints slave states in clear text. |
390 /** Prints slave states in clear text. |
|
391 * |
|
392 * \return Size of the created string. |
391 */ |
393 */ |
392 size_t ec_state_string(uint8_t states, /**< slave states */ |
394 size_t ec_state_string(uint8_t states, /**< slave states */ |
393 char *buffer, /**< target buffer |
395 char *buffer, /**< target buffer |
394 (min. EC_STATE_STRING_SIZE bytes) */ |
396 (min. EC_STATE_STRING_SIZE bytes) */ |
395 uint8_t multi /**< Show multi-state mask. */ |
397 uint8_t multi /**< Show multi-state mask. */ |
520 *****************************************************************************/ |
522 *****************************************************************************/ |
521 |
523 |
522 /** Request a master. |
524 /** Request a master. |
523 * |
525 * |
524 * Same as ecrt_request_master(), but with ERR_PTR() return value. |
526 * Same as ecrt_request_master(), but with ERR_PTR() return value. |
|
527 * |
|
528 * \return Requested master. |
525 */ |
529 */ |
526 ec_master_t *ecrt_request_master_err( |
530 ec_master_t *ecrt_request_master_err( |
527 unsigned int master_index /**< Master index. */ |
531 unsigned int master_index /**< Master index. */ |
528 ) |
532 ) |
529 { |
533 { |