Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
#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. | |
w1_rom struct.
uint8_t w1_rom::crc |
8-bit checksum of the 56-bit unique id.
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.
uint8_t w1_rom::serial[6] |
The serial together with the family code composes the unique 56-bit id.