w1_triplet(9) - phpMan
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
dev
the master device
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 AT Fries.net>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 W1_TRIPLET(9)
|