equal
deleted
inserted
replaced
54 EtherCAT_master_t; |
54 EtherCAT_master_t; |
55 |
55 |
56 /***************************************************************/ |
56 /***************************************************************/ |
57 |
57 |
58 // Master creation and deletion |
58 // Master creation and deletion |
59 int EtherCAT_master_init(EtherCAT_master_t *, EtherCAT_device_t *); |
59 void EtherCAT_master_init(EtherCAT_master_t *); |
60 void EtherCAT_master_clear(EtherCAT_master_t *); |
60 void EtherCAT_master_clear(EtherCAT_master_t *); |
|
61 |
|
62 // Registration of devices |
|
63 int EtherCAT_register_device(EtherCAT_master_t *, EtherCAT_device_t *); |
|
64 void EtherCAT_unregister_device(EtherCAT_master_t *, EtherCAT_device_t *); |
61 |
65 |
62 // Sending and receiving |
66 // Sending and receiving |
63 int EtherCAT_simple_send_receive(EtherCAT_master_t *, EtherCAT_command_t *); |
67 int EtherCAT_simple_send_receive(EtherCAT_master_t *, EtherCAT_command_t *); |
64 int EtherCAT_simple_send(EtherCAT_master_t *, EtherCAT_command_t *); |
68 int EtherCAT_simple_send(EtherCAT_master_t *, EtherCAT_command_t *); |
65 int EtherCAT_simple_receive(EtherCAT_master_t *, EtherCAT_command_t *); |
69 int EtherCAT_simple_receive(EtherCAT_master_t *, EtherCAT_command_t *); |