2020年7月27日

Concurrentcy Knowledge

摘要: Concurrentcy : multi-units get or modify a same critical region in parallel, which can cause a race condition. it can be 1) mutli-core CPU 2) interrup 阅读全文

posted @ 2020-07-27 13:52 荷树栋 阅读(117) 评论(0) 推荐(0)

Embedded C Coding Rules

摘要: 1. Using inline to replace #define when there are paramters 2. Using unsigned int only for bit-operations 3. Using fixed-width type int e.g. uint8_t, 阅读全文

posted @ 2020-07-27 12:15 荷树栋 阅读(147) 评论(0) 推荐(0)

导航