在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的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
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于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
- 这是一个基于cjson的库,cjson对于使用者来说比较繁琐。这个库调用起来比较方便、简洁☆15Apr 18, 2022Updated 4 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.
- c语言时间戳与时间互转,适用于嵌入式平台。☆15Dec 22, 2021Updated 4 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。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
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Feb 5, 2018Updated 8 years ago
- A free ARM Cortex-M0 floating-point library in 1 kbyte☆11May 26, 2021Updated 4 years ago
- 一个基于小型单片机的菜单事件驱动框架☆46Aug 31, 2022Updated 3 years ago
- Split a string into a char array by a given delimiter☆14Apr 1, 2016Updated 10 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- It is a button state machine module for general use.☆10Apr 3, 2017Updated 9 years ago
- 面向对象的单片机按键驱动程序,支持gpio和adc按键,具有多种事件处理方式(Microcontroller button driver program)☆11Mar 29, 2023Updated 3 years ago
- 一些日常工作做项目中用到的一些例程和方案,以便于快速做出我想要的产品功能。☆47Oct 3, 2023Updated 2 years ago
- 4G模块开发☆11Aug 16, 2019Updated 6 years ago
- Cofdet开源项目之:嵌入式系统通用驱动程序接口及其实现-EERPOM操作及存取位置☆13Aug 9, 2022Updated 3 years ago
- C语言实现的轻量级神经网络库,在嵌入式设备上无缝部署预训练的神经网络☆44Dec 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
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- 嵌入式C,软件定时器、线程软狗机制等系统组件集合☆14Nov 2, 2017Updated 8 years ago
- 微信公众号文章MCP工具☆35Jul 3, 2025Updated 10 months 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.☆99Dec 6, 2024Updated last year
- STM32F1和F4的bootloader,以及使用Ymodem串口OTA,使用DTU4G模块OTA示例代码☆65Oct 15, 2023Updated 2 years ago
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆128Jun 4, 2015Updated 10 years ago
- Code samples for the MagAlpha magnetic angle sensor family☆12Oct 11, 2019Updated 6 years ago
- 用C#写的窗口隐藏工具,工具可以自行设定系统级别的快捷键,使用快捷键一键隐藏还原窗口☆14Dec 16, 2014Updated 11 years ago
- HelloX operating system for STM32 chipset☆14Jan 18, 2015Updated 11 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- 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 6 years ago
- 内核源码学习,包括源码注释和学习笔记,笔记位于Lee_Doc☆11Sep 26, 2015Updated 10 years ago
- 通 用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 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