regulator_set_voltage_time
Prev | Chapter 5. API reference | Next

## Name

regulator_set_voltage_time — get raise/fall time

## Synopsis

`int regulator_set_voltage_time (` | struct regulator * regulator,
| int old_uV,
| int new_uV`)`;

## Arguments

`regulator`

  regulator source

`old_uV`

  starting voltage in microvolts

`new_uV`

  target voltage in microvolts

## Description

Provided with the starting and ending voltage, this function attempts to calculate the time in microseconds required to rise or fall to this new voltage.

Prev | Up | Next
regulator_set_voltage | Home | regulator_set_voltage_time_sel