Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

w1_rom struct. More...

#include <w1.h>

Data Fields

uint8_t family
 The 1-Wire family code identifying the slave device type.
 
uint8_t serial [6]
 The serial together with the family code composes the unique 56-bit id.
 
uint8_t crc
 8-bit checksum of the 56-bit unique id.
 

Detailed Description

w1_rom struct.

Field Documentation

◆ crc

uint8_t w1_rom::crc

8-bit checksum of the 56-bit unique id.

◆ family

uint8_t w1_rom::family

The 1-Wire family code identifying the slave device type.

An incomplete list of family codes is available at: https://www.maximintegrated.com/en/app-notes/index.mvp/id/155 others are documented in the respective device data sheet.

◆ serial

uint8_t w1_rom::serial[6]

The serial together with the family code composes the unique 56-bit id.


The documentation for this struct was generated from the following file: