在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的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
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆19Jan 9, 2021Updated 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
- 一个基于小型单片机的菜单事件驱动框架☆47Aug 31, 2022Updated 3 years ago
- 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
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Cofdet开源项目之:嵌入式系统通用 驱动程序接口及其实现-EERPOM操作及存取位置☆13Aug 9, 2022Updated 3 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 12 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
- 一个通用的、灵活的、可配置的、可移植的按键事件处理的实现☆30Mar 9, 2021Updated 5 years ago
- Lightweight binary diff/patch library for embedded MCU firmware OTA updates. Supports STM32, Renesas, HDSC and more. C, ~5K ROM.☆100Updated this week
- 图像生成插件,支持生图和改图,可以自动获取头像作为参考等。☆47Updated this week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- STM32F1和F4的bootloader,以及使用Ymodem串口OTA,使用DTU4G模块OTA示例代码☆66Oct 15, 2023Updated 2 years ago
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆128Jun 4, 2015Updated 11 years ago
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 4 years ago
- Code samples for the MagAlpha magnetic angle sensor family☆12Oct 11, 2019Updated 6 years ago
- 嵌入式 - 卡尔曼滤波☆80Oct 11, 2020Updated 5 years ago
- HelloX operating system for STM32 chipset☆14Jan 18, 2015Updated 11 years ago
- 针对传统快递站点的各种不足,该无人快递站点通过采用多点机器视觉模块识别快件上的条形码进而获取该货物的具体位置,再查询数据库进行数据匹配获取快件的相关信息,通过机械臂控制技术来实现智能分拣、上架,将货架信息保存至库中,并发送信息给收件人。最后,系统根据取件人的取货码或二维码,…☆15Apr 21, 2019Updated 7 years 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
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- MQTT Client For Android,其中包括了MQTT协议、协议在STM32上移植、HTML5测试。☆13May 4, 2018Updated 8 years ago
- 内核源码学习,包括源码注释和学习笔记,笔记位于Lee_Doc☆11Sep 26, 2015Updated 10 years ago
- 通用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 years ago
- ebox是类似于arduino的一套固件,底层基于rtthread和hal库,简化stm32编程☆12May 25, 2023Updated 3 years ago
- STM32 快速开发框架,基于标准库及C++11☆12Jan 17, 2020Updated 6 years ago
- UCMapViewer是基于UCMap(OpenGL版)的通用地图开发框架,涵盖了各类GIS数据的展示、查询、编辑、分析等各项功能 ( http://www.creable.cn/kuibu/xiazai.asp ) ,开发者可根据自己的应用需求来定制修改☆12Jan 7, 2019Updated 7 years ago
- 正点原子开拓者&新起点FPGA开发板例程☆15Nov 29, 2019Updated 6 years ago