Searched refs:demo_states (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/samples/subsys/smf/hsm_psicc2/src/ |
D | hsm_psicc2_thread.c | 32 enum demo_states { enum 43 static const struct smf_state demo_states[]; variable 78 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S11]); in s_run() 114 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S1]); in s1_run() 118 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S11]); in s1_run() 122 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S2]); in s1_run() 128 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S]); in s1_run() 135 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S211]); in s1_run() 165 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S1]); in s11_run() 172 smf_set_state(SMF_CTX(obj), &demo_states[STATE_S21]); in s11_run() [all …]
|
/Zephyr-Core-3.7.0/doc/services/smf/ |
D | index.rst | 58 const struct smf_state demo_states[] = { 68 const struct smf_state demo_states[] = { 81 const struct smf_state demo_states[]; 83 const struct smf_state demo_states[] = { 84 [S0] = SMF_CREATE_STATE(s0_entry, s0_run, s0_exit, NULL, demo_states[S2]), 85 [S1] = SMF_CREATE_STATE(s1_entry, s1_run, s1_exit, demo_states[S0], NULL), 86 [S2] = SMF_CREATE_STATE(s2_entry, s2_run, s2_exit, demo_states[S0], NULL) 182 static const struct smf_state demo_states[]; 202 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]); 212 smf_set_state(SMF_CTX(&s_obj), &demo_states[S2]); [all …]
|