I've been reading documentation on 1-wire and I think I'm having a brainfart. How does the slave differentiate a read slot from a write slot?
For example, lets say I want to read. First i go through the reset procedure and check if any slaves are on the line. Afterwards I pull the line down for time A (~6us) and then release. The slave should then keep the line low or release it which would be a read of 0 or 1.
How is this any different from write? If I bring the line down for time A (~6us) and then the slave keeps it low I would think that looks identical to a write 0 slot. Similarly, if I bring the line down for time A (~6us) and then release and the slave allows it to go high that would look identical to a write 1 slot.