read_vsys sample
power_voltage()
is only used within read_vsys sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
read_vsys sample
power_voltage()
power_voltage() function
Get system voltage Returns the system voltage
Syntax
Show:
Summary
Declaration
Definition
from
power_status.h:31
int
power_voltage
(
float
*
voltage
)
;
Implemented in
power_status.c:35
Arguments
Argument
Description
voltage
Calculated voltage
Return value
Zero if the voltage can be determined, an error code otherwise \see pico_error_codes
Notes
Must have called adc_init
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out