Header file for module <voltage.c> More...

Go to the source code of this file.
Defines | |
| #define | EXTERN extern |
Functions | |
| void | voltage_Init (void) |
| Init function of module <voltage.c>. | |
| void | voltage_Update (void) |
| Read and update ADC values for battery voltage and reference voltage. | |
| void | voltage_UpdateAvg (void) |
| Reads the battery voltage and recalculates the average value. | |
| UINT16 | voltage_GetValue (void) |
| Returns the battery voltage. | |
| UINT16 | voltage_GetAvg (void) |
| Returns average battery voltage. | |
| UINT16 | voltage_GetRef (void) |
| Returns reference voltage. | |
Definition in file voltage.h.
1.7.2