other versions
STRUCT W1_REG_NUM(9) | W1 API internal to the kernel | STRUCT W1_REG_NUM(9) |
NAME¶
struct_w1_reg_num - broken out slave device idSYNOPSIS¶
struct w1_reg_num { #if defined(__LITTLE_ENDIAN_BITFIELD __u64 family:8; __u64 id:48; __u64 crc:8; #elif defined(__BIG_ENDIAN_BITFIELD __u64 crc:8; __u64 id:48; __u64 family:8; #else #error "Please fix <asm/byteorder.h>" #endif };
MEMBERS¶
__u64:8 familyidentifies the type of device
__u64:48 id
along with family is the unique device id
__u64:8 crc
checksum of the other bytes
__u64:8 crc
checksum of the other bytes
__u64:48 id
along with family is the unique device id
__u64:8 family
identifies the type of device
AUTHOR¶
David Fries <David@Fries.net>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |