在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.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异步延时…☆25Nov 25, 2019Updated 6 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆22Jan 9, 2021Updated 5 years ago
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Feb 5, 2018Updated 8 years ago
- 一个事件驱动的嵌入式控制器框架(基于STM32平台)☆77Nov 2, 2020Updated 6 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- XCAN firmware for CANtact ( CANable ) or any other similar boards.☆11Jun 9, 2023Updated 3 years ago
- 一个基于小型单片机的菜单事件驱动框架☆47Aug 31, 2022Updated 4 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
- A CAN Gateway framework, offering CAN frame-based routing across multiple interfaces and protocols.☆13Jan 29, 2021Updated 5 years ago
- 4G模块开发☆11Aug 16, 2019Updated 7 years ago
- A simple SNMP poller☆10Jul 26, 2016Updated 10 years ago
- ☆12Sep 10, 2019Updated 7 years ago
- C语言实现的轻量级神经网络库,在嵌入式设备上无缝部署预训练的神经网络☆45Dec 7, 2018Updated 7 years ago
- protues仿真stm32☆10Oct 30, 2023Updated 3 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- S32K144EVB+FreeRTOS+keil☆17Jun 17, 2020Updated 6 years ago
- 实现了ISO15765标准的UDS诊断协议,能通过修改template文件夹下的Excel文件来配置DID和UDS☆16Sep 28, 2018Updated 8 years ago
- Yet another USB-CAN adapter.☆15Jan 9, 2022Updated 4 years ago
- ebox是类似于arduino的一套固件,底层基于rtthread和hal库,简化stm32编程☆12May 25, 2023Updated 3 years ago
- Sensorless Field Oriented Control of a PMSM with sliding mode observer☆11Jul 7, 2022Updated 4 years ago
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆129Jun 4, 2015Updated 11 years ago
- can tranport layer demo based on iso 15765-2 2016,canfd support in this version☆15Mar 13, 2020Updated 6 years ago
- 一个通用的、灵活的、可配置的、可移植的按键事件处理的实现☆30Mar 9, 2021Updated 5 years ago
- Analog Devices Analog Digital Converter AD7173 Arduino library☆11Nov 20, 2022Updated 3 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.
- Tools for STM32F103 and STM32F407☆10May 21, 2018Updated 8 years ago
- QSDK是河北骑士智能科技有限公司基于RT-THREAD RTOS编写的NB-IOT模块驱动代码☆10Nov 12, 2019Updated 6 years ago
- 通用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 years ago
- This project focuses on the study of Dual Active Bridge (DAB) converter, which is one of the most prominent topology of Isolated Bidirec…☆11Feb 17, 2024Updated 2 years ago
- ☆10Jun 10, 2014Updated 12 years ago
- 其中核心代码由 B站@偶尔有点小迷糊 提供,通过音频文件的二进制,让两个文件融为一体,音频几乎听不出区别☆10Jan 22, 2022Updated 4 years ago
- 基于WebSocket和three.js的实时上位机, 用于显示STM32通过ESP8266发送来的数据波形图, 并绘制路径图☆10May 30, 2018Updated 8 years ago
- HelloX operating system for STM32 chipset☆14Jan 18, 2015Updated 11 years ago
- 连接can设备和ymodem的驱动包☆10Apr 30, 2021Updated 5 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Text Menu in LCD☆12Aug 30, 2022Updated 4 years ago
- CAN bus gateway over USB☆22Nov 18, 2021Updated 4 years ago
- 嵌入式最小驱动程序框架☆11Jun 11, 2017Updated 9 years ago
- 用C#写的窗口隐藏工具,工具可以自行设定系统级别的快捷键,使用快捷键一键隐藏还原窗口☆14Dec 16, 2014Updated 11 years ago
- 基于stm32F769_emwin的数字可编程直流稳压电源☆13Oct 25, 2021Updated 5 years ago
- Share a CAN tool,integration ISO15765-2/3,ISO14229 protocol,can be used for Diag test,via UDS Service download Application Code.☆18Jul 3, 2019Updated 7 years ago
- MQTT Client For Android,其中包括了MQTT协议、协议在STM32上移植、HTML5测试。☆13May 4, 2018Updated 8 years ago