RKH
|
Prev: Basics
Next: Identifying, generating and sending events
The sample code for the example presented above ported to x86 is located in the directory demo/80x86/ahsm/
. It contains the Visual Studio project files to build the application. Also, emulates a ISR and a simple event-loop like a cooperative scheduler using the native priority scheme among other RKH services. See Installation section about RKH files. The application files are listed below:
my
state machine, which illustrates all aspects of implementing state machines with RKH framework. Please correlate this implementation with the my
state diagram in Figure 1. Note that the rkhcfg.h file defines the function prototype of actions. See Configuration section about of available options. See the "my.c" file.main()
function along with an example for using the RKH trace facility. See the "main.c" file.demo/
directory there are other rkhcfg.h files already in existence and it's suggested that these are used as a reference.
Prev: Basics
Next: Identifying, generating and sending events