REGULATOR_GET_VOLTAG

Section: API reference (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

regulator_get_voltage - get regulator output voltage  

SYNOPSIS

int regulator_get_voltage(struct regulator * regulator);
 

ARGUMENTS

regulator

regulator source
 

DESCRIPTION

This returns the current regulator voltage in uV.  

NOTE

If the regulator is disabled it will return the voltage value. This function should not be used to determine regulator state.  

AUTHORS

Liam Girdwood <lrg@slimlogic.co.uk>

Author.

Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
      
     

Author.
 

COPYRIGHT