Searched refs:composed_transfer (Results 1 – 2 of 2) sorted by relevance
330 std::shared_ptr<I2CComposed> composed_transfer(new I2CComposed); in i2c_master_composed_trans() local331 composed_transfer->add_write({47u}); in i2c_master_composed_trans()332 composed_transfer->add_read(BUF_SIZE); in i2c_master_composed_trans()336 future<vector<vector<uint8_t> > > result = fix.master->transfer(composed_transfer, ADDR); in i2c_master_composed_trans()482 std::shared_ptr<I2CComposed> composed_transfer(new I2CComposed); in i2c_master_reuse_composed_trans() local483 composed_transfer->add_write({47u}); in i2c_master_reuse_composed_trans()485 composed_transfer->add_read(BUF_SIZE); in i2c_master_reuse_composed_trans()489 vector<vector<uint8_t> > read_data1 = fix.master->transfer(composed_transfer, ADDR).get(); in i2c_master_reuse_composed_trans()491 vector<vector<uint8_t> > read_data2 = fix.master->transfer(composed_transfer, ADDR).get(); in i2c_master_reuse_composed_trans()505 composed_transfer->add_read(BUF_SIZE * 2); in i2c_master_reuse_composed_trans()[all …]
77 I2CComposed composed_transfer; in sync_transfer() local78 composed_transfer.add_write(write_data); in sync_transfer()79 composed_transfer.add_read(read_n_bytes); in sync_transfer()81 return composed_transfer.do_transfer(i2c_num, i2c_addr)[0]; in sync_transfer()