34#ifndef FREERTOS_DRIVERS_TI_CC32XXEEPROMFLUSHFLOW_HXX_
35#define FREERTOS_DRIVERS_TI_CC32XXEEPROMFLUSHFLOW_HXX_
66 bool need_sleep =
false;
92 bool need_sleep =
false;
113 unsigned isWaiting_ : 1;
115 unsigned isDirty_ : 1;
120#ifndef SKIP_UPDATED_CALLBACK
122void eeprom_updated_notification() {
123 eepromTimerFlow_.wakeup();
#define STATE(_fn)
Turns a function name into an argument to be supplied to functions expecting a state.
See OSMutexLock in os/OS.hxx.
Lightweight locking class for protecting small critical sections.
Collection of related state machines that pend on incoming messages.
Return type for a state flow callback.
Use this timer class to deliver the timeout notification to a stateflow.
Base class for state machines.
void notify() override
Wakeup call arrived.
StateFlowBase()
Default constructor.
void start_flow(Callback c)
Resets the flow to the specified state and starts it.
Action wait()
Wait for an asynchronous call.
Action call_immediately(Callback c)
Imediately call the next state upon return.
Action sleep_and_call(::Timer *timer, long long timeout_nsec, Callback c)
Suspends execution of this control flow for a specified time.
#define MSEC_TO_NSEC(_msec)
Convert a millisecond value to a nanosecond value.