FSM Lecture 57: Exercise-006 Testing History state
Exercise-006 Testing History state There are 2 types of history states. A shallow history and deep history. 'H+' is a deep history. When you first reset…
Exercise-006 Testing History state There are 2 types of history states. A shallow history and deep history. 'H+' is a deep history. When you first reset…
Read method implementation What is the Read Method? The read method is a function that allows user-level processes to read data from a file or device managed…
Exercise-006 Testing In the previous article, we completed the 006QHsmTest exercise. And now, let's test this. #include <Arduino.h> #include "qpn.h" #include "QHSM_Test.h" Q_DEFINE_THIS_FILE; void setup() { //…
Understanding error codes Linux error codes Before implementing the read method, let me quickly explain the error codes (shown in Figure 1) which we should be using…
Understanding read method In this article, let's understand our driver's read method implementation. What is read? The user-level process executes a read system call to read…
QHSM_INIT() and QHSM_DISPATCH() APIs In this article, let's explore the QHSM_INIT() and QHSM_DISPATCH() APIs. Polymorphically executes the top-most initial transition in the state machine. You have initialized…