Email the Author

You can use this page to email David Clifton about Runtime Patterns for Embedded Systems.

Please include an email address so the author can respond to your query

This message will be sent to David Clifton

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

Eighty percent of embedded system projects can be implemented using a main loop with function calls, and an interrupt routine or two. The remaining twenty percent, for various reasons, are better developed with other run-time patterns.

Control programs for devices used in open heart surgery, for example, sometimes reset themselves before each pass through the main control logic.  This prevents effects of hidden bugs from accumulating and causing a malfunction.

State machines allow functions called from the main loop to handle greater complexity, and longer duration processes, than functions without state machines.

Event handlers support processes which occur at random times or repeat at different rates.

Message pumps send messages between computers, or pass encoded data, from user interface devices to view managers.

Fiber managers allow multi-processing capabilities without resorting to multi-tasking, or the tools listed above.

This books presents, with source code examples, eight different run time patterns. The example code is part of a demo program which runs on an STM32F746G DISCO board , and supports touchscreen interaction with moving color blobs on an LCD.

All source code is MIT Licensed, and has been tested on the STM32F7_DISCO board. Since that board supports the MBED interface, the program binary can be easily loaded into the board over it's USB port.


About the Author

David Clifton’s avatar David Clifton

I have been an active embedded software developer for the past 35 years. Systems developed in whole or part include: Multi-parameter biofeedback system for Apple II, C and Dsp code for a television watching robot, firmware for a laser power meter, hypertext editor and math assistant for a pocket PC, autosampler firmware for a hematology instrument, robotic control and sequencer for a genetic blood assay machine, bootloader and kernel for an oximeter, portable flight planning computer, firmware for a wireless data acquisition system for bridge diagnostics, base station firmware for corrections telemetry and alcohol monitoring, communications protocol for an implantable hearing aid, usb mass storage driver, and sensor drivers for an oilfield seismic data logger, firmware for a digital theremin, a gps locator-tracker, and lora remote sensing system.

For more detailed information, see www.canyoncode.com.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Runtimepatternsforembeddedsystems › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss