在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时方案。使用此库便可以给N个函数增加指定延时时间,异步非阻塞方式,数据结构简单,合作式调度方式。另:此代码已在很多实体项目中使用,稳定安全。
☆24Nov 25, 2019Updated 6 years ago
Alternatives and similar repositories for event_delay
Users that are interested in event_delay are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的AP…☆19Nov 25, 2019Updated 6 years ago
- ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计的 FIFO。1. 纯ANSI C99实现, 数据类型兼容于size_t 2. 与具体…☆26Jan 9, 2021Updated 5 years ago
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,whil…☆13Nov 25, 2019Updated 6 years ago
- FlexibleButton 是一个基于标准 C 语言的小巧灵活的按键处理库,支持单击、连击、短按、长按、自动消抖,可以自由设置组合按键,可用于中断和低功耗场景。该按键库解耦了具体的按键硬件结构,理论上支持轻触按键与自锁按键,并可以无限扩展按键数量。另外,FlexibleB…☆11Jan 9, 2021Updated 5 years ago
- 用于串口通信或消息的环形队列驱动☆14Sep 12, 2019Updated 6 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- FlashDB 是一款超轻量级的嵌入式数据库,专注于提供嵌入式产品的数据存储方案。与传统的基于文件系统的数据库不同,FlashDB 结合了 Flash 的特性,具有较强的性能及可靠性。并在保证极低的资源占用前提下,尽可能延长 Flash 使用寿命。FlashDB 提供两种数…☆12Jan 10, 2021Updated 5 years ago
- c语言时间戳与时间互转,适用于嵌入式平台。☆15Dec 22, 2021Updated 4 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆19Jan 9, 2021Updated 5 years ago
- 一个事件驱动的嵌入式控制器框架(基于STM32平台)☆76Nov 2, 2020Updated 5 years ago
- STM32 Bootloader,适配Ymodem下载,Ymodem下载工具上位机☆19Jul 16, 2023Updated 2 years ago
- OSAL free operating system abstraction for embedded systems. Supports pthreads, freertos, chibios, coocox, bertos and more... RTOS☆14Dec 27, 2013Updated 12 years ago
- ☆10Mar 7, 2020Updated 6 years ago
- A free ARM Cortex-M0 floating-point library in 1 kbyte☆11May 26, 2021Updated 5 years ago
- 一个基于小型单片机的菜单事件驱动框架☆47Aug 31, 2022Updated 3 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Split a string into a char array by a given delimiter☆14Apr 1, 2016Updated 10 years ago
- It is a button state machine module for general use.☆10Apr 3, 2017Updated 9 years ago
- 一些日常工作做项目中用到的一些例程和方案,以便于快速做出我想要的产品功能。☆47Oct 3, 2023Updated 2 years ago
- 4G模块开发☆11Aug 16, 2019Updated 6 years ago
- C语言实现的轻量级神经网络库,在嵌入式设备上无缝部署预训练的神经网络☆45Dec 7, 2018Updated 7 years ago
- EventDrivenEmbeddedFramework is simple framework written in pure C to make development much faster and easier without sacrificing flexibi…☆16Jul 1, 2013Updated 13 years ago
- 自制TI DSPC2000系列调试器XDS100V2☆14Aug 6, 2020Updated 5 years ago
- 基于STM32的RFID读卡器程序☆13Jan 13, 2019Updated 7 years ago
- 嵌入式C,软件定时器、线程软狗机制等系统组件集合☆14Nov 2, 2017Updated 8 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- 微信公众号文章MCP工具☆40Jul 3, 2025Updated last year
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆128Jun 4, 2015Updated 11 years ago
- 用C#写的窗口隐藏工具,工具可以自行设定系统级别的快捷键,使用快捷键一键隐藏还原窗口☆14Dec 16, 2014Updated 11 years ago
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 5 years ago
- Code samples for the MagAlpha magnetic angle sensor family☆12Oct 11, 2019Updated 6 years ago
- 嵌入式 - 卡尔曼滤波☆79Oct 11, 2020Updated 5 years ago
- ☆10Jun 10, 2014Updated 12 years ago
- ☆15Dec 22, 2016Updated 9 years ago
- HelloX operating system for STM32 chipset☆14Jan 18, 2015Updated 11 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- 图像生成插件,支持生图和改图,可以自动获取头像作为参考等。☆48Jun 20, 2026Updated 2 weeks ago
- QSDK是河北骑士智能科技有限公司基于RT-THREAD RTOS编写的NB-IOT模块驱动代码☆10Nov 12, 2019Updated 6 years ago
- Useful library in C to send or receive data using ringbuffers and poll☆10Oct 29, 2019Updated 6 years ago
- MQTT Client For Android,其中包括了MQTT协议、协议在STM32上移植、HTML5测试。☆13May 4, 2018Updated 8 years ago
- 基于ESP8266的开源MCU方案☆12May 29, 2019Updated 7 years ago
- 内核源码学习,包括源码注释和学习笔记,笔记位于Lee_Doc☆11Sep 26, 2015Updated 10 years ago
- 通用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 years ago