Practical UML Statecharts in C/C++, Second Edition 在線電子書 圖書標籤: 狀態機 嵌入式 編程 計算機 embedded HSM FSM 計算機技術
發表於2024-12-23
Practical UML Statecharts in C/C++, Second Edition 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
看到最後的QP-nano架構時,徹底拜服,大牛之作!這個軟件的開源社區依然在運作,有興趣的朋友可以去關注一下。
評分狀態機
評分嵌入式大牛的書,層次狀態機編程和事件驅動框架結閤的類實時框架。
評分嵌入式大牛的書,層次狀態機編程和事件驅動框架結閤的類實時框架。
評分看到最後的QP-nano架構時,徹底拜服,大牛之作!這個軟件的開源社區依然在運作,有興趣的朋友可以去關注一下。
Practical UML Statecharts in C/C++ Second Edition bridges the gap between high-level abstract concepts of the Unified Modeling Language (UML) and the actual programming aspects of modern hierarchical state machines (UML statecharts). The book describes a lightweight, open source, event-driven infrastructure, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C++ without big tools.
This book is presented in two parts. In Part I, you get a practical description of the relevant state machine concepts starting from traditional finite state automata to modern UML state machines followed by state machine coding techniques and state-machine design patterns, all illustrated with executable examples. In Part II, you find a detailed design study of a generic real-time framework indispensable for combining concurrent, event-driven state machines into robust applications. Part II begins with a clear explanation of the key event-driven programming concepts such as inversion of control ("Hollywood Principle"), blocking versus non-blocking code, run-to-completion (RTC) execution semantics, the importance of event queues, dealing with time, and the role of state machines to maintain the context from one event to the next. This background is designed to help software developers in making the transition from the traditional sequential to the modern event-driven programming, which can be one of the trickiest paradigm shifts.
The lightweight QP event-driven infrastructure goes several steps beyond the traditional real-time operating system (RTOS). In the simplest configuration, QP runs on bare-metal microprocessor, microcontroller, or DSP completely replacing the RTOS. QP can also work with almost any OS/RTOS to take advantage of the existing device drivers, communication stacks, and other middleware. The accompanying website to this book contains complete open source code for QP, ports to popular processors and operating systems, including 80x86, ARM Cortex-M3, MSP430, and Linux, as well as all examples described in the book.
*Focuses on core concepts rather than tools which are always changing allowing the reader to continue to use this information with various projects
*Provides a complete, ready-to-use, open source software architecture for small and large embedded systems
*Includes an extensive example using the ARM Cortex-M3 throughout the book highlighting issues programmers and architects encounter in everyday life
真正有所发现的旅程不是指找到一片新大陆,而是拥有一双新的眼睛。 大牛Mira Samek就有这么一双新的眼睛。他将UML状态机和事件驱动模式结合到一起做了一个编程框架(QP framework),状态机自己常用,做协议栈或协议分析经常用到自动状态机,事件驱动模式自己也常用。要不说大...
評分真正有所发现的旅程不是指找到一片新大陆,而是拥有一双新的眼睛。 大牛Mira Samek就有这么一双新的眼睛。他将UML状态机和事件驱动模式结合到一起做了一个编程框架(QP framework),状态机自己常用,做协议栈或协议分析经常用到自动状态机,事件驱动模式自己也常用。要不说大...
評分真正有所发现的旅程不是指找到一片新大陆,而是拥有一双新的眼睛。 大牛Mira Samek就有这么一双新的眼睛。他将UML状态机和事件驱动模式结合到一起做了一个编程框架(QP framework),状态机自己常用,做协议栈或协议分析经常用到自动状态机,事件驱动模式自己也常用。要不说大...
評分真正有所发现的旅程不是指找到一片新大陆,而是拥有一双新的眼睛。 大牛Mira Samek就有这么一双新的眼睛。他将UML状态机和事件驱动模式结合到一起做了一个编程框架(QP framework),状态机自己常用,做协议栈或协议分析经常用到自动状态机,事件驱动模式自己也常用。要不说大...
評分真正有所发现的旅程不是指找到一片新大陆,而是拥有一双新的眼睛。 大牛Mira Samek就有这么一双新的眼睛。他将UML状态机和事件驱动模式结合到一起做了一个编程框架(QP framework),状态机自己常用,做协议栈或协议分析经常用到自动状态机,事件驱动模式自己也常用。要不说大...
Practical UML Statecharts in C/C++, Second Edition 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024