ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计的 FIFO。1. 纯ANSI C99实现, 数据类型兼容于size_t 2. 与具体硬件平台无关 3. 类FIFO缓冲设计 4. 未使用动态内存分配,纯静态内存 5. 特殊优化过的memcpy实现 6. 当用作单写/单读的管道时是线程&中断安全的 7. 适用于DMA在缓冲区和应用程序内存之间进行零拷贝开销的DMA传输 8. 支持数据查看、读跳过、写进 9. 实现对事件通知的支持
☆26Jan 9, 2021Updated 5 years ago
Alternatives and similar repositories for LwRB
Users that are interested in LwRB are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时…☆25Nov 25, 2019Updated 7 years ago
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的AP…☆18Nov 25, 2019Updated 7 years ago
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,whil…☆12Nov 25, 2019Updated 7 years ago
- Cofdet开源项目之:嵌入式系统通用驱动程序接口及其实现-EERPOM操作及存取位置☆13Aug 9, 2022Updated 4 years ago
- 用于串口通信或消息的环形队列驱动☆14Sep 12, 2019Updated 7 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.
- lightning-fast compression library☆12Apr 4, 2023Updated 3 years ago
- Lightweight generic ring buffer manager library☆10Aug 26, 2021Updated 5 years ago
- 上海航芯ACM32F403热敏打印机方案☆10May 27, 2022Updated 4 years ago
- It is a button state machine module for general use.☆11Apr 3, 2017Updated 9 years ago
- The embedded Finite State Machine (FSM) Facility that can be used to model and control a reactive or stateful system. The system can be r…☆28Nov 29, 2017Updated 8 years ago
- 嵌入式Flash数据库☆16Jan 25, 2024Updated 2 years ago
- 使用阿里云和4G模块实现远程OTA升级☆23Oct 14, 2023Updated 3 years ago
- ☆13Jul 30, 2025Updated last year
- OSAL free operating system abstraction for embedded systems. Supports pthreads, freertos, chibios, coocox, bertos and more... RTOS☆14Dec 27, 2013Updated 12 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.
- FlexibleButton 是一个基于标准 C 语言的小巧灵活的按键处理库,支持单击、连击、短按、长按、自动消抖,可以自由设置组合按键,可用于中断和低功耗场景。该按键库解耦了具体的按键硬件结构,理论上支持轻触按键与自锁按键,并可以无限扩展按键数量。另外,FlexibleB…☆12Jan 9, 2021Updated 5 years ago
- 4G模块开发☆11Aug 16, 2019Updated 7 years ago
- 一个嵌入式裸机任务消息队列调度机制☆13Apr 18, 2024Updated 2 years ago
- XIoTMan is a set of software architecture solutions dedicated to solving the diversified challenges of IoT terminal applications.☆19Jun 30, 2024Updated 2 years ago
- 一个用C语言实现功能丰富但简单的有限状态机(FSM)。☆41Jun 4, 2024Updated 2 years ago
- c语言时间戳与时间互转,适用于嵌入式平台。☆15Dec 22, 2021Updated 4 years ago
- 自制TI DSPC2000系列调试器XDS100V2☆15Aug 6, 2020Updated 6 years ago
- UART Communication Protocol, support all platform☆11Feb 24, 2026Updated 9 months ago
- Simple Key-Value in memory database☆16Aug 15, 2023Updated 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.
- 嵌入式系统显示多级菜单库及菜单代码生成器☆17Dec 4, 2019Updated 6 years ago
- OSAL(operating system abstraction layer),操作系统抽象层,一种以实现多任务为核心的系统资源管理机制☆189Sep 27, 2019Updated 7 years ago
- A Clone of embUnit testing framework, see https://sourceforge.net/projects/embunit/☆19Oct 2, 2012Updated 14 years ago
- Port of the miscellaneous V4L2 tools for QNX 6.5 and above (mainly for devu-uvc project).☆12Mar 26, 2014Updated 12 years ago
- 平时学习中总结出的嵌入式外设驱动库☆37May 30, 2019Updated 7 years ago
- 自用嵌入式项目框架,集各种☆36May 14, 2018Updated 8 years ago
- DS3231 Library for STM32☆15May 11, 2019Updated 7 years ago
- ☆11Dec 1, 2025Updated 11 months ago
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 5 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.
- Header only c++ network library, based on asio,support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port.☆11Oct 13, 2026Updated last month
- the config server and agent for configuration items.☆11Nov 2, 2025Updated last year
- This project aims to create a clean, modern and easy to use Bluetooth Low Energy API. LittleB exposes the BLE GATT API for Pure C using B…☆16Jan 3, 2023Updated 3 years ago
- Tiny Database Engine written in C☆14Jan 2, 2020Updated 6 years ago
- 如何用单片机FLASH模拟EEPROM,并且通过算法优化实现高达100万次以上的存储次数!☆20May 6, 2025Updated last year
- 基于Linux系统的应用程序,旨在搭建一套完整的多进程多线程通讯的消息框架. 支持多SOC的嵌入式APP.☆32Dec 9, 2023Updated 2 years ago
- 封装了app中 一。常用的工具类:时间、字符串、地理位置偏差、JSON、XML、JS、谓词(正则表达式)、常用块、错误捕捉、线程、app自检、加密、网络请求、沙盒、偏好、钥匙串、文件、缓存清理、数据库、加密数据库 、文件压缩、html转pdf、图片转pdf、使用外部app打…☆35Nov 3, 2017Updated 9 years ago
Are these results useful?