Lines Matching refs:machine
23 defined structure that has the state machine context, :c:struct:`smf_ctx`, as
31 The :c:struct:`smf_ctx` member must be first because the state machine
39 machine. But to enable the creation of a hierarchical state machine, the
53 A state machine is created by defining a table of states that's indexed by an
102 .. note:: While the state machine is running, :c:func:`smf_set_state` should
110 To run the state machine, the :c:func:`smf_run_state` function should be
124 To terminate the state machine, the :c:func:`smf_set_terminate` function
132 SMF follows UML hierarchical state machine rules for transitions i.e., the
162 :caption: Flat state machine diagram
245 /* Run the state machine */
247 /* State machine terminates if a non-zero value is returned */
250 /* handle return code and terminate state machine */
265 :caption: Hierarchical state machine diagram
349 /* Run the state machine */
351 /* State machine terminates if a non-zero value is returned */
354 /* handle return code and terminate state machine */
378 state machine can be implemented using Zephyr :ref:`events`.
381 :caption: Event driven state machine diagram
507 /* Run the state machine */
513 /* State machine terminates if a non-zero value is returned */
516 /* handle return code and terminate state machine */
526 machine for testing the initial transitions and transitions to self in a parent
531 :caption: Test state machine for UML State Transitions