Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
regulator.h File Reference

API for voltage and current regulators. More...

#include <zephyr/types.h>
#include <drivers/gpio.h>
#include <sys/onoff.h>

Go to the source code of this file.

Data Structures

struct  regulator_driver_api
 Driver-specific API functions to support regulator control. More...
 

Functions

static int regulator_enable (const struct device *reg, struct onoff_client *cli)
 Enable a regulator. More...
 
static int regulator_disable (const struct device *reg)
 Disable a regulator. More...
 

Detailed Description

API for voltage and current regulators.