17template <
int TStackSize>
24 chibios_rt::ThreadReference
ref;
45 using chibios_rt::BaseStaticThread<TStackSize>
::start;
55 ref = chibios_rt::BaseStaticThread<TStackSize>::start(
m_prio);
70 ref.requestTerminate();
A base class for a controller that requires its own thread.
virtual void ThreadTask()=0
ThreadController(const char *name, tprio_t priority)
void start()
Start the thread.
void stop()
Request thread termination and waits for termination.
chibios_rt::ThreadReference ref