void current_Update ( void   )

This function reads the momentary motor current draw and checks the value for a warning condition.

See also:
mg_u16Value
COND_CURR_WARN
Returns:
void

Definition at line 152 of file current.c.

References ADC_CURRENT, adc_Read(), COND_CURR_WARN, MAX_CURRENT, mg_u16Value, safety_ClearCondition(), and safety_SetCondition().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: