Searched refs:s_obj (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/ |
D | smf_calculator_thread.c | 48 } s_obj; variable 675 output = s_obj.operand_1.string; in output_display() 678 output = s_obj.operand_2.string; in output_display() 681 output = s_obj.result.string; in output_display() 694 smf_set_initial(SMF_CTX(&s_obj), &calculator_states[STATE_ON]); in smf_calculator_thread() 698 rc = k_msgq_get(&event_msgq, &s_obj.event, K_FOREVER); in smf_calculator_thread() 704 LOG_INF("Received %c from GUI", s_obj.event.operand); in smf_calculator_thread() 705 int ret = smf_run_state(SMF_CTX(&s_obj)); in smf_calculator_thread() 713 LOG_INF("op1=%s, op=%c op2=%s res=%s", s_obj.operand_1.string, s_obj.operator_btn, in smf_calculator_thread() 714 s_obj.operand_2.string, s_obj.result.string); in smf_calculator_thread()
|
/Zephyr-latest/doc/services/smf/ |
D | index.rst | 193 } s_obj; 202 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]); 212 smf_set_state(SMF_CTX(&s_obj), &demo_states[S2]); 226 smf_set_state(SMF_CTX(&s_obj), &demo_states[S0]); 243 smf_set_initial(SMF_CTX(&s_obj), &demo_states[S0]); 248 ret = smf_run_state(SMF_CTX(&s_obj)); 301 } s_obj; 316 smf_set_state(SMF_CTX(&s_obj), &demo_states[S1]); 322 smf_set_state(SMF_CTX(&s_obj), &demo_states[S2]); 328 smf_set_state(SMF_CTX(&s_obj), &demo_states[S0]); [all …]
|
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/src/ |
D | hsm_psicc2_thread.c | 29 } s_obj; variable 309 smf_set_initial(SMF_CTX(&s_obj), &demo_states[STATE_INITIAL]); in hsm_psicc2_thread() 311 int rc = k_msgq_get(&hsm_psicc2_msgq, &s_obj.event, K_FOREVER); in hsm_psicc2_thread() 315 rc = smf_run_state(SMF_CTX(&s_obj)); in hsm_psicc2_thread()
|
/Zephyr-latest/subsys/mgmt/hawkbit/ |
D | hawkbit.c | 1599 struct s_object s_obj = {0}; in hawkbit_probe() local 1601 smf_set_initial(SMF_CTX(&s_obj), &hawkbit_states[S_HAWKBIT_PROBE]); in hawkbit_probe() 1605 ret = smf_run_state(SMF_CTX(&s_obj)); in hawkbit_probe()
|