esp32-warm-water
esp32 based project for the control of a heating element based on temperature
Functions
owb_gpio.c File Reference
#include <stddef.h>
#include <stdbool.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "sdkconfig.h"
#include "driver/gpio.h"
#include "owb.h"
#include "owb_gpio.h"
Include dependency graph for owb_gpio.c:

Go to the source code of this file.

Functions

OneWireBusowb_gpio_initialize (owb_gpio_driver_info *driver_info, int gpio)
 Initialise the GPIO driver. More...
 

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.