Wirepas SDK
voltage.h
Go to the documentation of this file.
1
/* Copyright 2021 Wirepas Ltd. All Rights Reserved.
2
*
3
* See file LICENSE.txt for full license details.
4
*
5
*/
6
16
#ifndef _HAL_VOLTAGE_H_
17
#define _HAL_VOLTAGE_H_
18
19
#include <stdint.h>
20
25
void
Mcu_voltageInit
(
void
);
26
37
uint16_t
Mcu_voltageGet
(
void
);
38
39
#endif
/* _HAL_VOLTAGE_H_ */
Mcu_voltageInit
void Mcu_voltageInit(void)
Initialize voltage measurement mechanisms. Need to do once before measurements.
Mcu_voltageGet
uint16_t Mcu_voltageGet(void)
Measure processor voltage. What is measured depends on processor type.