equal
deleted
inserted
replaced
475 * The task of the receive callback (\a receive_cb) is to decide, if a call to |
475 * The task of the receive callback (\a receive_cb) is to decide, if a call to |
476 * ecrt_master_receive() is allowed and to execute it respectively. |
476 * ecrt_master_receive() is allowed and to execute it respectively. |
477 */ |
477 */ |
478 void ecrt_master_callbacks( |
478 void ecrt_master_callbacks( |
479 ec_master_t *master, /**< EtherCAT master */ |
479 ec_master_t *master, /**< EtherCAT master */ |
480 void (*send_cb)(ec_master_t *), /**< Datagram sending callback. */ |
480 void (*send_cb)(void *), /**< Datagram sending callback. */ |
481 void (*receive_cb)(ec_master_t *) /**< Receive callback. */ |
481 void (*receive_cb)(void *), /**< Receive callback. */ |
|
482 void *cb_data /**< Arbitraty pointer passed to the callback functions. |
|
483 */ |
482 ); |
484 ); |
483 |
485 |
484 #endif /* __KERNEL__ */ |
486 #endif /* __KERNEL__ */ |
485 |
487 |
486 /** Creates a new process data domain. |
488 /** Creates a new process data domain. |