Wirepas SDK
voltage.h File Reference

Voltage measurement examples for various processors. More...

Detailed Description

Voltage measurement examples for various processors.

Note
Voltage measurements are only examples. It should be verified whether given measurement mechanism applies to hardware design or not.

Definition in file voltage.h.

Go to the source code of this file.

Functions

void Mcu_voltageInit (void)
 Initialize voltage measurement mechanisms. Need to do once before measurements. More...
 
uint16_t Mcu_voltageGet (void)
 Measure processor voltage. What is measured depends on processor type. More...
 

Function Documentation

◆ Mcu_voltageGet()

uint16_t Mcu_voltageGet ( void  )

Measure processor voltage. What is measured depends on processor type.

Returns
Voltage in millivolts
Note
Voltage measurements are only examples. It should be verified whether given measurement mechanism applies to hardware design or not.

◆ Mcu_voltageInit()

void Mcu_voltageInit ( void  )

Initialize voltage measurement mechanisms. Need to do once before measurements.