master/master.h
changeset 151 1961b674466c
parent 145 11a82e4fd31b
child 178 b84f69db8566
equal deleted inserted replaced
150:36530399236b 151:1961b674466c
    71 // IO
    71 // IO
    72 void ec_master_receive(ec_master_t *, const uint8_t *, size_t);
    72 void ec_master_receive(ec_master_t *, const uint8_t *, size_t);
    73 void ec_master_queue_command(ec_master_t *, ec_command_t *);
    73 void ec_master_queue_command(ec_master_t *, ec_command_t *);
    74 int ec_master_simple_io(ec_master_t *, ec_command_t *);
    74 int ec_master_simple_io(ec_master_t *, ec_command_t *);
    75 
    75 
    76 // Registration of devices
       
    77 int ec_master_open(ec_master_t *);
       
    78 void ec_master_close(ec_master_t *);
       
    79 
       
    80 // Slave management
    76 // Slave management
    81 int ec_master_bus_scan(ec_master_t *);
    77 int ec_master_bus_scan(ec_master_t *);
    82 
    78 
    83 // Misc
    79 // Misc
    84 void ec_master_debug(const ec_master_t *);
    80 void ec_master_debug(const ec_master_t *);