当前位置:网站首页>Embedded development program framework
Embedded development program framework
2022-07-06 04:36:00 【Please trust me】
List of articles
framework design
stay 《 The code of 》 The first 5 In the chapter , Program design is divided into these levels :
- The first 1 layer : software system , It's the whole system 、 Whole procedure
- The first 2 layer : Break down into subsystems or packages . For example, we can split it into : Input subsystem 、 Display subsystem 、 Business system
- The first 3 layer : Decompose into classes . stay C There are no classes in the language , You can use structures to describe subsystems .
- The first 4 layer : Decompose into subroutines : Implement those structures ( There are function pointers in the structure ).
Concept of framework

It means that our code is convenient for upper developers to read , We need to encapsulate the underlying driver , Buffer through the middle layer , So that the upper layer can easily call at the same time , Engineers who write business bare metal can also easily understand our code design . In fact, it is a very simple logic of engineering programming . adopt .c File to achieve a certain function , adopt .h The document states . So the main function main You can pass .h Header file to call .c File implementation function .
summary
There's no code this time , So sorry . Later code will be used in practice , Just pay attention to understanding logic .
边栏推荐
- Meet diverse needs: jetmade creates three one-stop development packages to help efficient development
- 捷码赋能案例:专业培训、技术支撑,多措并举推动毕业生搭建智慧校园毕设系统
- C. The third problem
- [tomato assistant installation]
- MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
- Delete subsequence < daily question >
- SharedPreferences 源码分析
- Explain in simple terms node template parsing error escape is not a function
- 2327. 知道秘密的人数(递推)
- VPP performance test
猜你喜欢

Understanding of processes, threads, coroutines, synchronization, asynchrony, blocking, non blocking, concurrency, parallelism, and serialization

Figure application details
![[face recognition series] | realize automatic makeup](/img/a5/de98d0522b9dae809cd242aac305b3.jpg)
[face recognition series] | realize automatic makeup
![Mlapi series - 04 - network variables and network serialization [network synchronization]](/img/fc/aebbad5295481788de5c1fdb432a77.jpg)
Mlapi series - 04 - network variables and network serialization [network synchronization]

The implementation of the maize negotiable digital warehouse receipt standard will speed up the asset digitization process of the industry

How to realize automatic playback of H5 video

English Vocabulary - life scene memory method

Lombok原理和同时使⽤@Data和@Builder 的坑

Delete subsequence < daily question >

Selection of slow motion function
随机推荐
729. My schedule I (set or dynamic open point segment tree)
Figure application details
也算是学习中的小总结
word封面下划线
11. Intranet penetration and automatic refresh
tengine 内核参数
Fedora/rehl installation semanage
HotSpot VM
Basic explanation of turtle module - draw curve
Recommendation | recommendation of 9 psychotherapy books
P2022 有趣的数(二分&数位dp)
解决“C2001:常量中有换行符“编译问题
Overturn your cognition? The nature of get and post requests
Microservice resource address
P3500 [poi2010]tes intelligence test (two points & offline)
During pycharm debugging, the view is read only and pause the process to use the command line appear on the console input
Case of Jiecode empowerment: professional training, technical support, and multiple measures to promote graduates to build smart campus completion system
cdc 能全量拉去oracle 表嘛
VNCTF2022 WriteUp
Query the number and size of records in each table in MySQL database