Embedded State Machine Programming – QP State Machine Framework

Embedded State Machine Programming - QP State Machine Framework

Content Source: Sun Wukong Seeking Knowledge Basic Terminology of State Machines Current State: Refers to the state currently being occupied. Condition: Also known as “event”, when a condition is met, it will trigger an action or execute a state transition. Action: The action executed after the condition is met. After the action is completed, it … Read more

Various Techniques for State Machines in Embedded Systems

Various Techniques for State Machines in Embedded Systems

State machines are ubiquitous in embedded software, and you might say, what is so difficult about state machines? Aren’t they just switches? Switch is merely the most basic point; there are many more operations regarding state machines that you may not have encountered. Below, I will share several implementation methods. 1. Basic Terminology of State … Read more