/* Generates a write-1 cycle and samples the level. Only call if dev->bus_master->touch_bit is NULL  */
static u8 w1_read_bit(struct w1_master *dev)
/* Generates a write-1 cycle and samples the level. Only call if dev->bus_master->touch_bit is NULL  */
static u8 w1_read_bit(struct w1_master *dev)
{
	int result;
	dev->bus_master->write_bit(dev->bus_master->data, 0);
	w1_delay(6);
	dev->bus_master->write_bit(dev->bus_master->data, 1);
	w1_delay(9);
	result = dev->bus_master->read_bit(dev->bus_master->data);
	w1_delay(55);
	return result & 0x1;
}