Zephyr Project API  3.2.0
A Scalable Open Source RTOS
regulator.h File Reference

API for voltage and current regulators. More...

#include <zephyr/types.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/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.