|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
1-Wire bus protocol driver. More...
#include <idfxx/error>#include <idfxx/gpio>#include <cstdint>#include <memory>#include <mutex>#include <span>#include <string>#include <vector>#include "sdkconfig.h"Go to the source code of this file.
Classes | |
| class | idfxx::onewire::address |
| 1-Wire device address. More... | |
| class | idfxx::onewire::bus |
| 1-Wire bus controller with thread-safe access. More... | |
Namespaces | |
| namespace | idfxx |
| namespace | idfxx::onewire |
| 1-Wire bus protocol classes and utilities. | |
Functions | |
| uint8_t | idfxx::onewire::crc8 (std::span< const uint8_t > data) |
| Computes a Dallas Semiconductor 8-bit CRC. | |
| uint16_t | idfxx::onewire::crc16 (std::span< const uint8_t > data, uint16_t crc_iv=0) |
| Computes a Dallas Semiconductor 16-bit CRC. | |
| bool | idfxx::onewire::check_crc16 (std::span< const uint8_t > data, std::span< const uint8_t, 2 > inverted_crc, uint16_t crc_iv=0) |
| Verifies a 16-bit CRC against received data. | |
1-Wire bus protocol driver.
Definition in file onewire.hpp.