esp32-owb
ESP32-compatible C library for Maxim Integrated 1-Wire Bus.
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Pages
Data Structures | Macros | Functions
owb_gpio.h File Reference

Interface definitions for the ESP32 GPIO driver used to communicate with devices on the One Wire Bus. More...

#include "owb.h"

Go to the source code of this file.

Data Structures

struct  owb_gpio_driver_info
 GPIO driver information. More...
 

Functions

OneWireBusowb_gpio_initialize (owb_gpio_driver_info *driver_info, int gpio)
 Initialise the GPIO driver. More...
 
void owb_gpio_uninitialize (owb_gpio_driver_info *driver_info)
 Clean up after a call to owb_gpio_initialize()
 

Detailed Description

Interface definitions for the ESP32 GPIO driver used to communicate with devices on the One Wire Bus.

Deprecated:
This driver is deprecated and may be removed at some stage. It is not recommended for use due to issues with imprecise timing.

Function Documentation

OneWireBus* owb_gpio_initialize ( owb_gpio_driver_info driver_info,
int  gpio 
)

Initialise the GPIO driver.

Returns
OneWireBus*, pass this into the other OneWireBus public API functions