void voltage_Update ( void   )

This function reads the battery voltage and reference voltage.

See also:
mg_u16Ref
mg_u16Value
Returns:
void

Definition at line 137 of file voltage.c.

References adc_Read(), ADC_VOLTAGE, ADC_VREF, mg_u16Ref, and mg_u16Value.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: