Defines | Functions

voltage.h File Reference

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

This graph shows which files directly or indirectly include this file:

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.

Detailed Description

Author:
Philipp Bank
Copyright:
Creative Commons by-nc-sa 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)

Definition in file voltage.h.