LibJuno 0.42.0
LibJuno is a lightweight C99 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_T *ptJunoSm)
 The action that should be executed in this state.
 
JUNO_RESULT_BOOL_T(* ShouldExit )(JUNO_SM_STATE_T *ptJunoSm)
 Returns a bool result whether the current state should exit.
 
JUNO_STATUS_T(* ResetState )(JUNO_SM_STATE_T *ptJunoSm)
 Reset the state.
 

Field Documentation

◆ ResetState

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

Reset the state.

◆ ShouldExit

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

Returns a bool result whether the current state should exit.

◆ StateAction

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

The action that should be executed in this state.


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