LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_SM_STATE_API_TAG Struct Reference

#include <sm_api.h>

Data Fields

JUNO_STATUS_T(* StateAction )(JUNO_SM_STATE_ROOT_T *ptJunoSm)
 Action executed while in this state.
 
JUNO_RESULT_BOOL_T(* ShouldExit )(JUNO_SM_STATE_ROOT_T *ptJunoSm)
 Return whether the current state should exit.
 
JUNO_STATUS_T(* ResetState )(JUNO_SM_STATE_ROOT_T *ptJunoSm)
 Reset any state-local data.
 

Field Documentation

◆ ResetState

JUNO_STATUS_T(* JUNO_SM_STATE_API_TAG::ResetState) (JUNO_SM_STATE_ROOT_T *ptJunoSm)

Reset any state-local data.

◆ ShouldExit

JUNO_RESULT_BOOL_T(* JUNO_SM_STATE_API_TAG::ShouldExit) (JUNO_SM_STATE_ROOT_T *ptJunoSm)

Return whether the current state should exit.

◆ StateAction

JUNO_STATUS_T(* JUNO_SM_STATE_API_TAG::StateAction) (JUNO_SM_STATE_ROOT_T *ptJunoSm)

Action executed while in this state.


The documentation for this struct was generated from the following file: