Should High Cohesion and Low Coupling be Emphasized in Embedded Software Written in C?

Should High Cohesion and Low Coupling be Emphasized in Embedded Software Written in C?

I am Lao Wen, an embedded engineer who loves learning.Follow me to become even better together! 1 – Principles Low coupling means that modules should exist as independently as possible. While some connection between modules is inevitable, the interfaces between them should be minimal and simple. Thus, high cohesion from the internal characteristics of each … Read more

Understanding Linux Device Driver Model

Understanding Linux Device Driver Model

Originally from Yuedu Code Field Let heaven return to heaven, let dust return to dust —— Discussing Linux’s bus, device, and driver model Author:Song Baohua On May 15, 1951, during a congressional hearing, U.S. Army five-star General MacArthur suggested expanding the Korean War into China. Bradley then remarked, “If we expand the war into Communist … Read more