esp32-warm-water
esp32 based project for the control of a heating element based on temperature
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"
Include dependency graph for owb_gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  owb_gpio_driver_info
 GPIO driver information. More...
 

Macros

#define OWB_GPIO_H
 

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() More...
 

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.

Definition in file owb_gpio.h.

Macro Definition Documentation

◆ OWB_GPIO_H

#define OWB_GPIO_H

Definition at line 38 of file owb_gpio.h.

Function Documentation

◆ owb_gpio_initialize()

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

Definition at line 263 of file owb_gpio.c.

◆ owb_gpio_uninitialize()

void owb_gpio_uninitialize ( owb_gpio_driver_info driver_info)

Clean up after a call to owb_gpio_initialize()