Lines Matching refs:event
82 * I/O - matrix - the state event matrix
139 * I/O - matrix - the state event matrix
184 * I/O - matrix - the state event matrix
226 * fsm_Event - perform event transition in the matrix
230 * Perform event transition in the matrix
236 * I - event - event causing transition \n
247 TI_UINT8 event,
260 if ((*currentState >= pFsm->ActiveNoOfStates) || (event >= pFsm->ActiveNoOfEvents))
267 *currentState = pFsm->stateEventMatrix[(*currentState * pFsm->ActiveNoOfEvents) + event].nextState;
270 if( !(*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc) ) {
273 status = (*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc)(pData);
281 * fsm_GetNextState - Retrun the next state for a given current state and an event.
285 * Retrun the next state for a given current state and an event.
291 * I - event - event causing transition \n
302 TI_UINT8 event,
307 if ((currentState < pFsm->ActiveNoOfStates) && (event < pFsm->ActiveNoOfEvents))
309 *nextState = pFsm->stateEventMatrix[(currentState * pFsm->ActiveNoOfEvents) + event].nextState;