wuzhl2018 / cx_schLinks
在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,while(1)是什么?在嵌入式设计模式里是怎么给while(1)定义的。《C嵌入式编程设计模式》一书中将while(1)称之为“超循环模式”,也就是嵌入式的入门傻瓜模式。在此模式下即使有前台监听也势必会导致系统实时性傻逼,从硬件上分析:while(1)的高CPU占用率也使得功耗大大提高。当然存在即合理,超循环模式在安全性和可靠性上是非常占优势的。结构简单也易于理解,这对于安全性能要求较高的系统上还是非常具有吸引力的
☆12Updated 5 years ago
Alternatives and similar repositories for cx_sch
Users that are interested in cx_sch are comparing it to the libraries listed below
Sorting:
- 在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时…☆23Updated 5 years ago
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态 等。 向外部提供的AP…☆19Updated 5 years ago
- ☆19Updated 5 years ago
- ARM-GCC下STM32F1工程模板,运行OSAL操作系统☆25Updated 7 years ago
- Designed with Micrium’s renowned quality, scalability and reliability, the purpose of µC/LIB is to provide a clean, organized ANSI C impl…☆58Updated 4 years ago
- ☆20Updated 5 years ago
- ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计的 FIFO。1. 纯ANSI C99实现, 数据类型 兼容于size_t 2. 与具体…☆25Updated 4 years ago
- awtk-aworks-rt1052☆33Updated 3 years ago
- ☆21Updated 5 years ago
- µC/Common is a module that regroups components used by various Micrium products. It currently includes a Kernel Abstraction Layer (KAL), …☆26Updated 4 years ago
- Small GUI Library of MCUs☆68Updated 10 years ago
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Updated 7 years ago
- ☆28Updated 5 years ago
- SL_SDK provides an easy-to-use software framework with united HAL and OSAL, also including a runtime environment to speed-up development …☆89Updated 3 years ago
- Versatile and easy to use C language utility library with functions and macros commonly used in various applications☆74Updated last month
- 基于NOR Flash的轻量级文件数据存储方案。主要为i.MX RT系列设计,也可轻松移植到其他MCU平台☆30Updated last year
- ☆47Updated 5 years ago
- Advance backtrace library for ARM Cortex-M series MCU | ARM Cortex-M 系列 MCU 错误追踪库☆24Updated last year
- ☆19Updated 5 years ago
- RT-Thread操作系统的FreeRTOS兼容层 | FreeRTOS Application Compatibility Layer (ACL) for RT-Thread☆31Updated last year
- Designed with Micriμm's renowned quality, scalability and reliability, the purpose of μC/ CPU is to provide a clean, organized ANSI C imp…☆62Updated 4 years ago
- 标量Kalman滤波器的C语言实现; C implementation of Scalar Kalman Filter☆34Updated 10 years ago
- ☆20Updated 5 years ago
- ☆18Updated 5 years ago
- Versaloon Software Framework -- a tiny pre-emptive event-driven fsm framework for embedded systems☆46Updated 5 years ago
- A lightweight, customizable embedded Web Server for RT-Thread☆53Updated last year
- Small yet powerful state machine coroutine library☆39Updated last year
- ☆19Updated 5 years ago
- ☆19Updated 5 years ago
- using hashmap on MCUs☆18Updated 2 years ago