1.1.4.5 DRV_METROLOGY_Start Function
C
DRV_METROLOGY_RESULT DRV_METROLOGY_Start (void);SummaryStarts the metrology driver.
DescriptionThis routine must not be called until the metrology library application running in the second processor is ready to be used.
ParametersNone.
ReturnsReturns DRV_METROLOGY_SUCCESS when the metrology library application is ready to be used. Otherwise, it returns DRV_METROLOGY_ERROR.
Example case APP_METROLOGY_STATE_START:
{
if (DRV_METROLOGY_Start() == DRV_METROLOGY_SUCCESS)
{
app_metrologyData.state = APP_METROLOGY_STATE_RUNNING;
}
else
{
app_metrologyData.state = APP_METROLOGY_STATE_ERROR;
}
break;
}RemarksThis routine must be called after DRV_METROLOGY_Start routine has been called.
