UINT16 voltage_GetAvg ( void   )

This function returns the average ADC value for battery voltage stored in mg_u16Avg.

See also:
mg_u16Avg
Returns:
mg_u16Avg (UINT16)
Return values:
0..1023

Definition at line 224 of file voltage.c.

References mg_u16Avg.

Referenced by leds_ShowVoltage().

{
  return (mg_u16Avg);
}

Here is the caller graph for this function: