1.5.4.3 AL_GetStatus Function
C
SYS_STATUS AL_GetStatus(void);
Summary
Gets the status of the AL module.
Description
This function allows to retrieve AL module status.
It must be used to ensure the module is Ready before start using it.
Parameters
None.
Returns
Returns the status of the Meters And Mores AL module.
- SYS_STATUS_UNINITIALIZED: DLL module has not been initialized.
- SYS_STATUS_READY: DLL module is ready to be used.
Example
case APP_AL_STATE_START:
{
if (AL_GetStatus() == SYS_STATUS_READY)
{
app_ALData.state = APP_AL_STATE_RUNNING;
}
break;
}
Remarks
None.
