wuzhl2018 / event_delayView external linksLinks
在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时方案。使用此库便可以给N个函数增加指定延时时间,异步非阻塞方式,数据结构简单,合作式调度方式。另:此代码已在很多实体项目中使用,稳定安全。
☆23Nov 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
Sorting:
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的AP…☆18Nov 25, 2019Updated 6 years ago
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎 实的人物了。那么问题来了,whil…☆12Nov 25, 2019Updated 6 years ago
- FlexibleButton 是一个基于标准 C 语言的小巧灵活的按键处理库,支持单击、连击、短按、长按、自动消抖,可以自由设置组合按键,可用于中断和低功耗场景。该按键库解耦了具体的按键硬件结构,理论上支持轻触按键与自锁按键,并可以无限扩展按键数量。另外,FlexibleB…☆11Jan 9, 2021Updated 5 years ago
- FlashDB 是一款超轻量级的嵌入式数据库,专注于提供嵌入式产品的数据存储方案。与传统的基于文件系统的数据库不同,FlashDB 结合了 Flash 的特性,具有较强的性能及可靠性。并在保证极低的资源占用前提下,尽可能延长 Flash 使用寿命。FlashDB 提供两种数…☆12Jan 10, 2021Updated 5 years ago
- 这是一个基于cjson的库,cjson对于使用者来说比较繁琐。这个库调用起来比较方便、简洁☆15Apr 18, 2022Updated 3 years ago
- c语言时间戳与时间互转,适用于嵌入式平台。☆15Dec 22, 2021Updated 4 years ago
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Feb 5, 2018Updated 8 years ago
- STM32 Bootloader,适配Ymodem下载,Ymodem下载工具上位机☆19Jul 16, 2023Updated 2 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆19Jan 9, 2021Updated 5 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
- EventDrivenEmbeddedFramework is simple framework written in pure C to make development much faster and easier without sacrificing flexibi…☆16Jul 1, 2013Updated 12 years ago
- 一个基于小型单片机的菜单事件驱动框架☆47Aug 31, 2022Updated 3 years ago
- An FSM library based upon arduino-fsm that allows using FSMs within other objects☆23Aug 7, 2019Updated 6 years ago
- 本系统以Buck和Boost并联,实现双向DC-DC交换,以STM32为核心控制芯片。通过单片机闭环实现恒流输出控制。以L298N作为PWM控制驱动器,组成电压负反馈系统,通过调整PWM的占空比,实现稳压输出。系统能自动检测外部电源电压变化,在负载端电源较高时自动切换成充电…☆39Feb 7, 2018Updated 8 years ago
- 一个通用的、灵活的、可配置的、可移植的按键事件处理的实现☆30Mar 9, 2021Updated 4 years ago
- 基于Linux系统的应用程序,旨在搭建一套完整的多进程多线程通讯的消息框架. 支持多SOC的嵌入式APP.☆31Dec 9, 2023Updated 2 years ago
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆127Jun 4, 2015Updated 10 years ago
- 自用嵌入式项目框架,集各种☆36May 14, 2018Updated 7 years ago
- Code, data and results for LiteOS Hackathon☆30Apr 12, 2017Updated 8 years ago
- A SCADA system that uses prime for intrusion tolerance. Using PVBrowser as an HMI☆10May 27, 2015Updated 10 years ago
- ☆10Mar 7, 2020Updated 5 years ago
- Code pulled from Kai Borre's website (http://kom.aau.dk/~borre/)☆10Jul 28, 2017Updated 8 years ago
- Generic slave implementation of the 1-wire protocol in C☆13Mar 3, 2019Updated 6 years ago
- 适用于嵌入式单片机的差分升级库,通用所有单片机,如stm32、华大、复旦微、瑞萨等。适合嵌入式的差分升级又叫增量升级,顾名思义就是通过差分算法将源版本与目标版本之间差异的部分提取出来制作成差分包,然后在设备通过还原算法将差异部分在源版本上进行还原从而升级成目标版本的过程。 …☆95Dec 6, 2024Updated last year
- ProtoThreads for Arduino☆38Jan 16, 2019Updated 7 years ago
- "Infinite" Pong with Two Balls in Jai Compiled to Wasm64☆12Dec 12, 2024Updated last year
- Logging library for AVR microcontrollers☆10Apr 10, 2016Updated 9 years ago
- OneWire library custom engineered for JLD505 boards with DS2480B chips☆11Jul 1, 2015Updated 10 years ago
- mkinf run API☆13Apr 30, 2025Updated 9 months ago
- xmlbeansxx is an open source C++ library easing the processing of XML data. It is very similar to and in fact was inspired by Apache XMLB…☆20Oct 29, 2011Updated 14 years ago
- Projects i do in arduino☆12Jul 21, 2013Updated 12 years ago
- Repository containing variety of model files and program scripts for Nvidia Isaac -enviroments☆13Updated this week
- Configuration Information for Qt + SGX on TI Platforms☆25Sep 14, 2013Updated 12 years ago
- 51单片机超轻量级实时操作系统,适合在8051为内核的MCU上运行☆11Jan 21, 2023Updated 3 years ago
- The officially supported Matomo Connector for Looker Studio enables you to explore your Matomo data in Looker Studio at no cost. You can …☆12Updated this week
- Arduino code and board schematics to generate dtmf tones and transmit on a phone line☆14Jul 27, 2009Updated 16 years ago
- It is a button state machine module for general use.☆10Apr 3, 2017Updated 8 years ago
- PHP SDK for Matrix/Synapse☆10Jun 24, 2024Updated last year
- 其中核心代码由 B站@偶尔有点小迷糊 提供,通过音频文件的二进制,让两个文件融为一体,音 频几乎听不出区别☆10Jan 22, 2022Updated 4 years ago