> From: Larry Barello [mailto:yahoo@barello.net] > > .... > Most (but not all) of my current projects use a foreground loop with Finite > State Machine (FSM) tasks and a high speed timer interrupt that increments > counters or runs additional FSM that need precise periodic execution (e.g. > motor or sensor control/input tasks, filtering, etc) That structure is > pretty simple and works well for just about everything. .... On larger systems in a previous life I wrote a FSM "compiler" that consumed a description of a state machine and produced a set of tables and source code which was compiled into a communications application. Support libraries included debugging/trace tools that allowed symbolic debugging of a FSM. Has anyone done something like this for embedded C? Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck
Message
Finite State Machines (was: Multitasking)
2005-04-10 by Chuck Hackett
Attachments
- No local attachments were found for this message.