equal
deleted
inserted
replaced
53 * - Added watchdog configuration (method ecrt_slave_config_watchdog(), |
53 * - Added watchdog configuration (method ecrt_slave_config_watchdog(), |
54 * #ec_watchdog_mode_t, \a watchdog_mode parameter in ec_sync_info_t and |
54 * #ec_watchdog_mode_t, \a watchdog_mode parameter in ec_sync_info_t and |
55 * ecrt_slave_config_sync_manager()). |
55 * ecrt_slave_config_sync_manager()). |
56 * - Added ecrt_slave_config_complete_sdo() method to download an SDO during |
56 * - Added ecrt_slave_config_complete_sdo() method to download an SDO during |
57 * configuration via CompleteAccess. |
57 * configuration via CompleteAccess. |
|
58 * - Added ecrt_master_deactivate() to remove the bus configuration. |
58 * - Added ecrt_open_master() and ecrt_master_reserve() separation for |
59 * - Added ecrt_open_master() and ecrt_master_reserve() separation for |
59 * userspace. |
60 * userspace. |
60 * - Added bus information interface (methods ecrt_master(), |
61 * - Added bus information interface (methods ecrt_master(), |
61 * ecrt_master_get_slave(), ecrt_master_get_sync_manager(), |
62 * ecrt_master_get_slave(), ecrt_master_get_sync_manager(), |
62 * ecrt_master_get_pdo() and ecrt_master_get_pdo_entry()) to get information |
63 * ecrt_master_get_pdo() and ecrt_master_get_pdo_entry()) to get information |
677 * not be called! |
678 * not be called! |
678 * |
679 * |
679 * \return 0 in case of success, else < 0 |
680 * \return 0 in case of success, else < 0 |
680 */ |
681 */ |
681 int ecrt_master_activate( |
682 int ecrt_master_activate( |
|
683 ec_master_t *master /**< EtherCAT master. */ |
|
684 ); |
|
685 |
|
686 /** Deactivates the master. |
|
687 * |
|
688 * Removes the bus configuration. All objects created by |
|
689 * ecrt_master_create_domain(), ecrt_master_slave_config(), ecrt_domain_data() |
|
690 * ecrt_slave_config_create_sdo_request() and |
|
691 * ecrt_slave_config_create_voe_handler() are freed, so pointers to them |
|
692 * become invalid. |
|
693 */ |
|
694 void ecrt_master_deactivate( |
682 ec_master_t *master /**< EtherCAT master. */ |
695 ec_master_t *master /**< EtherCAT master. */ |
683 ); |
696 ); |
684 |
697 |
685 /** Sends all datagrams in the queue. |
698 /** Sends all datagrams in the queue. |
686 * |
699 * |