other versions
- stretch 4.9.168-1
W1_RESET_SELECT_SLAV(9) | W1 API internal to the kernel | W1_RESET_SELECT_SLAV(9) |
NAME¶
w1_reset_select_slave - reset and select a slaveSYNOPSIS¶
int w1_reset_select_slave(struct w1_slave * sl);
ARGUMENTS¶
slthe slave to select
DESCRIPTION¶
Resets the bus and then selects the slave by sending either a skip rom or a rom match. A skip rom is issued if there is only one device registered on the bus. The w1 master lock must be held.RETURN¶
0=success, anything else=errorAUTHOR¶
David Fries <David@Fries.net>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |