w1_reset_select_slave(9)

w1_reset_select_slave9

Reset and select a slave

Usage

int w1_reset_select_slave(struct w1_slave * sl);

Arguments

sl

the slave to select

Overview

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=error

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

David Fries <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.