struct_w1_reg_num(9)

struct_w1_reg_num9

Broken out slave device id

Usage

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

family

identifies the type of device

id

along with family is the unique device id

crc

checksum of the other bytes

crc

checksum of the other bytes

id

along with family is the unique device id

family

identifies the type of device

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.