Struct bl602_sdk::wifi::stateMachine [−][src]
#[repr(C)]pub struct stateMachine { pub currentState: *const state, pub previousState: *const state, pub errorState: *const state, }
Expand description
\brief State machine
There is no need to manipulate the members directly.
Fields
currentState: *const state
\brief Pointer to the current state
previousState: *const state
\brief Pointer to previous state
The previous state is stored for convenience in case the user needs to keep track of previous states.
errorState: *const state
\brief Pointer to a state that will be entered whenever an error occurs in the state machine.
See #stateM_errorStateReached for when the state machine enters the error state.