© John T. Taylor, Wayne T. Taylor 2021
J. T. Taylor, W. T. TaylorPatterns in the Machinehttps://doi.org/10.1007/978-1-4842-6440-9_4

4. Persistent Storage Detailed Design Example

John T. Taylor1   and Wayne T. Taylor2
(1)
Covington, GA, USA
(2)
Golden, CO, USA
 

So enough theory already. Let’s break down how to take requirements and design statements and design code in a highly decoupled way that will allow maximum reuse and hardware independence. In other words, here’s how it’s done with PIM.

In this chapter, I’ll go through the example that was presented in Chapter 3, where we designed a persistent storage module to write to an EEPROM (more or less an implementation of Figure 3-4). Afterward, I’ll show a similar persistent storage example using a PIM ...

Get Patterns in the Machine: A Software Engineering Guide to Embedded Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.