Searched refs:stateEventMatrix (Results 1 – 2 of 2) sorted by relevance
111 …(*pFsm)->stateEventMatrix = (fsm_Matrix_t)os_memoryAlloc(hOs, MaxNoOfStates * MaxNoOfEvents * size… in fsm_Create()112 if ((*pFsm)->stateEventMatrix == NULL) in fsm_Create()117 os_memoryZero(hOs, (*pFsm)->stateEventMatrix, in fsm_Create()158 if (pFsm->stateEventMatrix != NULL) in fsm_Unload()160 os_memoryFree(hOs, pFsm->stateEventMatrix, in fsm_Unload()214 os_memoryCopy(hOs, (void *)pFsm->stateEventMatrix, (void *)pMatrix, in fsm_Config()267 *currentState = pFsm->stateEventMatrix[(*currentState * pFsm->ActiveNoOfEvents) + event].nextState; in fsm_Event()270 if ((*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc) == NULL) in fsm_Event()274 status = (*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc)(pData); in fsm_Event()310 *nextState = pFsm->stateEventMatrix[(currentState * pFsm->ActiveNoOfEvents) + event].nextState; in fsm_GetNextState()
83 fsm_Matrix_t stateEventMatrix; /**< State\Event matrix */ member