Lines Matching refs:event
83 * I/O - matrix - the state event matrix
140 * I/O - matrix - the state event matrix
185 * I/O - matrix - the state event matrix
227 * fsm_Event - perform event transition in the matrix
231 * Perform event transition in the matrix
237 * I - event - event causing transition \n
248 UINT8 event,
261 if ((*currentState >= pFsm->ActiveNoOfStates) || (event >= pFsm->ActiveNoOfEvents))
268 *currentState = pFsm->stateEventMatrix[(*currentState * pFsm->ActiveNoOfEvents) + event].nextState;
271 if( !(*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc) ) {
274 status = (*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc)(pData);
282 * fsm_GetNextState - Retrun the next state for a given current state and an event.
286 * Retrun the next state for a given current state and an event.
292 * I - event - event causing transition \n
303 UINT8 event,
308 if ((currentState < pFsm->ActiveNoOfStates) && (event < pFsm->ActiveNoOfEvents))
310 *nextState = pFsm->stateEventMatrix[(currentState * pFsm->ActiveNoOfEvents) + event].nextState;