drivers/ec_master.h
branchkernel2.6
changeset 33 f4171b8aadf8
parent 27 d75ef6b46e33
child 39 6965c23a6826
equal deleted inserted replaced
32:7d9809fbf7b9 33:f4171b8aadf8
    58 // Master creation and deletion
    58 // Master creation and deletion
    59 void EtherCAT_master_init(EtherCAT_master_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 
    61 
    62 // Registration of devices
    62 // Registration of devices
    63 int EtherCAT_register_device(EtherCAT_master_t *, EtherCAT_device_t *);
    63 int EtherCAT_master_open(EtherCAT_master_t *, EtherCAT_device_t *);
    64 void EtherCAT_unregister_device(EtherCAT_master_t *, EtherCAT_device_t *);
    64 void EtherCAT_master_close(EtherCAT_master_t *, EtherCAT_device_t *);
    65 
    65 
    66 // Sending and receiving
    66 // Sending and receiving
    67 int EtherCAT_simple_send_receive(EtherCAT_master_t *, EtherCAT_command_t *);
    67 int EtherCAT_simple_send_receive(EtherCAT_master_t *, EtherCAT_command_t *);
    68 int EtherCAT_simple_send(EtherCAT_master_t *, EtherCAT_command_t *);
    68 int EtherCAT_simple_send(EtherCAT_master_t *, EtherCAT_command_t *);
    69 int EtherCAT_simple_receive(EtherCAT_master_t *, EtherCAT_command_t *);
    69 int EtherCAT_simple_receive(EtherCAT_master_t *, EtherCAT_command_t *);