在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的API接口就是常规的读数据包,读期望帧以及匹配期望帧,整段代码可用于普通的通信数据帧读取,也可以在单片机中用于shell组件的实现。还是希望广大网 友能对我的代码进行功能补充,BUG修复等。
☆18Nov 25, 2019Updated 6 years ago
Alternatives and similar repositories for cx_ringbuff
Users that are interested in cx_ringbuff are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,whil…☆12Nov 25, 2019Updated 6 years ago
- 在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时…☆24Nov 25, 2019Updated 6 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆18Jan 9, 2021Updated 5 years ago
- 用于串口通信或消息的环形队列驱动☆13Sep 12, 2019Updated 6 years ago
- ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计的 FIFO。1. 纯ANSI C99实现, 数据类型兼容于size_t 2. 与具体…☆26Jan 9, 2021Updated 5 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Feb 5, 2018Updated 8 years ago
- XCAN firmware for CANtact ( CANable ) or any other similar boards.☆11Jun 9, 2023Updated 2 years ago
- 一个事件驱动的嵌入式控制器框架(基于STM32平台)☆76Nov 2, 2020Updated 5 years ago
- A CAN Gateway framework, offering CAN frame-based routing across multiple interfaces and protocols.☆13Jan 29, 2021Updated 5 years ago
- BUSMASTER Installer Executables☆17Oct 30, 2017Updated 8 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
- Yet another USB-CAN adapter.☆15Jan 9, 2022Updated 4 years ago
- ☆11Sep 10, 2019Updated 6 years ago
- Libray for Lawicel SLCAN Protocol (Serial-Line CAN)☆17Mar 9, 2025Updated last year
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- 4G模块开发☆11Aug 16, 2019Updated 6 years ago
- C语言实现的轻量级神经网络库,在嵌入式设备上无缝部署预训练的神经网络☆44Dec 7, 2018Updated 7 years ago
- 基于STM32的RFID读卡器程序☆13Jan 13, 2019Updated 7 years ago
- 带能量回馈的单相交流电子负载代码开源,湖北省22年省级大学生电子设计竞赛特等奖☆20Jan 28, 2024Updated 2 years ago
- 实现了ISO15765标准的UDS诊断协议,能通过修改template文件夹下的Excel文件来配置DID和UDS☆15Sep 28, 2018Updated 7 years ago
- 一个通用的、灵活的、可配置的、可移植的按键事件处理的实现☆30Mar 9, 2021Updated 5 years ago
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆127Jun 4, 2015Updated 10 years ago
- can tranport layer demo based on iso 15765-2 2016,canfd support in this version☆14Mar 13, 2020Updated 6 years ago
- STM32F1和F4的bootloader,以及使用Ymodem串口OTA,使用DTU4G模块OTA示例代码☆63Oct 15, 2023Updated 2 years ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Code samples for the MagAlpha magnetic angle sensor family☆12Oct 11, 2019Updated 6 years ago
- S32K144EVB+FreeRTOS+keil☆16Jun 17, 2020Updated 5 years ago
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 4 years ago
- 用C#写的窗口隐藏工具,工具可以自行设定系统级别的快捷键,使用快捷键一键隐藏还原窗口☆14Dec 16, 2014Updated 11 years ago
- 【Android】 android加密方法 简单API实现Hash,Hmac,对称与非对称加密☆15Jan 13, 2021Updated 5 years ago
- ☆10Jun 10, 2014Updated 11 years ago
- ebox是类似于arduino的一套固件,底层基于rtthread和hal库,简化stm32编程☆11May 25, 2023Updated 2 years ago
- HelloX operating system for STM32 chipset☆14Jan 18, 2015Updated 11 years ago
- 针对传统快递站点的各种不足,该无人快递站点通过采用多点机器视觉模块识别快件上的条形码进而获取该货物的具体位置,再查询数据库进行数据匹配获取快件的相关信息,通过机械臂控制技术来实现智能分拣、上架,将货架信息保存至库中,并发送信息给收件人。最后,系统根据取件人的取货码或二维码,…☆15Apr 21, 2019Updated 6 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.
- 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 7 years ago
- 基于ESP8266的开源MCU方案☆12May 29, 2019Updated 6 years ago
- 内核源码学习,包括源码注释和学习笔记,笔记位于Lee_Doc☆11Sep 26, 2015Updated 10 years ago
- CAN bus gateway over USB☆21Nov 18, 2021Updated 4 years ago
- 通用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 years ago