esp32-warm-water
esp32 based project for the control of a heating element based on temperature
Data Fields
DS18B20_Info Struct Reference

Structure containing information related to a single DS18B20 device connected via a 1-Wire bus. More...

#include <ds18b20.h>

Collaboration diagram for DS18B20_Info:
Collaboration graph
[legend]

Data Fields

bool init
 True if struct has been initialised, otherwise false. More...
 
bool solo
 True if device is intended to be the only one connected to the bus, otherwise false. More...
 
bool use_crc
 True if CRC checks are to be used when retrieving information from a device on the bus. More...
 
const OneWireBusbus
 Pointer to 1-Wire bus information relevant to this device. More...
 
OneWireBus_ROMCode rom_code
 The ROM code used to address this device on the bus. More...
 
DS18B20_RESOLUTION resolution
 Temperature measurement resolution per reading. More...
 

Detailed Description

Structure containing information related to a single DS18B20 device connected via a 1-Wire bus.

Definition at line 73 of file ds18b20.h.

Field Documentation

◆ bus

const OneWireBus* bus

Pointer to 1-Wire bus information relevant to this device.

Definition at line 78 of file ds18b20.h.

◆ init

bool init

True if struct has been initialised, otherwise false.

Definition at line 75 of file ds18b20.h.

◆ resolution

DS18B20_RESOLUTION resolution

Temperature measurement resolution per reading.

Definition at line 80 of file ds18b20.h.

◆ rom_code

The ROM code used to address this device on the bus.

Definition at line 79 of file ds18b20.h.

◆ solo

bool solo

True if device is intended to be the only one connected to the bus, otherwise false.

Definition at line 76 of file ds18b20.h.

◆ use_crc

bool use_crc

True if CRC checks are to be used when retrieving information from a device on the bus.

Definition at line 77 of file ds18b20.h.


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