devices/ecdev.h
changeset 497 04552130dd54
parent 495 88c597598bbc
child 498 fbf44b0d6b54
equal deleted inserted replaced
496:b2aee2241952 497:04552130dd54
    72 void ecdev_unregister(unsigned int master_index, ec_device_t *device);
    72 void ecdev_unregister(unsigned int master_index, ec_device_t *device);
    73 
    73 
    74 /*****************************************************************************/
    74 /*****************************************************************************/
    75 // Device methods
    75 // Device methods
    76 
    76 
       
    77 int ecdev_open(ec_device_t *device);
       
    78 int ecdev_close(ec_device_t *device);
    77 void ecdev_receive(ec_device_t *device, const void *data, size_t size);
    79 void ecdev_receive(ec_device_t *device, const void *data, size_t size);
    78 void ecdev_link_state(ec_device_t *device, uint8_t newstate);
    80 void ecdev_link_state(ec_device_t *device, uint8_t newstate);
    79 
    81 
    80 /*****************************************************************************/
    82 /*****************************************************************************/
    81 
    83