Scroll to navigation

W1_TRIPLET(9) W1 API internal to the kernel W1_TRIPLET(9)

NAME

w1_triplet - * Does a triplet - used for searching ROM addresses.

SYNOPSIS

u8 w1_triplet(struct w1_master * dev, int bdir);

ARGUMENTS

struct w1_master * dev

the master device

int bdir

the bit to write if both id_bit and comp_bit are 0

DESCRIPTION

Return bits: bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_taken If both bits 0 & 1 are set, the search should be restarted.

RETURN

bit fields - see above

AUTHOR

David Fries <David@Fries.net>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11