Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Defines the current context of the state machine. More...
#include <smf.h>
Data Fields | |
const struct smf_state * | current |
Current state the state machine is executing. | |
const struct smf_state * | previous |
Previous state the state machine executed. | |
int32_t | terminate_val |
This value is set by the set_terminate function and should terminate the state machine when its set to a value other than zero when it's returned by the run_state function. | |
uint32_t | internal |
The state machine casts this to a "struct internal_ctx" and it's used to track state machine context. | |
Defines the current context of the state machine.
const struct smf_state* smf_ctx::current |
Current state the state machine is executing.
uint32_t smf_ctx::internal |
The state machine casts this to a "struct internal_ctx" and it's used to track state machine context.
const struct smf_state* smf_ctx::previous |
Previous state the state machine executed.
int32_t smf_ctx::terminate_val |
This value is set by the set_terminate function and should terminate the state machine when its set to a value other than zero when it's returned by the run_state function.