在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的API接口就是常规的读数据包,读期望帧以及匹配期望帧,整段代码可用于普通的通信数据帧读取,也可以在单片机中用于shell组件的实现。还是希望广大网 友能对我的代码进行功能补充,BUG修复等。
☆18Nov 25, 2019Updated 7 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 7 years ago
- 用于串口通信或消息的环形队列驱动☆14Sep 12, 2019Updated 7 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆21Jan 9, 2021Updated 5 years ago
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Feb 5, 2018Updated 8 years ago
- 一个事件驱动的嵌入式控制器框架(基于STM32平台)☆78Nov 2, 2020Updated 6 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.
- 简易TCP/IP协议栈,支持TCP、UDP,支持DHCP动态获取IP,支持keep_alive等☆24Mar 30, 2018Updated 8 years ago
- 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
- Yet another USB-CAN adapter.☆15Jan 9, 2022Updated 4 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Sensorless Field Oriented Control of a PMSM with sliding mode observer☆11Jul 7, 2022Updated 4 years ago
- Cheapest UAC2 using STM32F407+USB3300☆20Feb 26, 2025Updated last year
- 一个Ymodem的非死循环的状态机轮转式的协议实现的源码。☆128Jun 4, 2015Updated 11 years ago
- 实现了ISO15765标准的UDS诊断协议,能通过修改template文件夹下的Excel文件来配置DID和UDS☆16Sep 28, 2018Updated 8 years ago
- 一个通用的、灵活的、可配置的、可移植的按键事件处理的实现☆30Mar 9, 2021Updated 5 years ago
- Tools for STM32F103 and STM32F407☆10May 21, 2018Updated 8 years ago
- QSDK是河北骑士智能科技有限公司基于RT-THREAD RTOS编写的NB-IOT模块驱动代码☆10Nov 12, 2019Updated 7 years ago
- ebox是类似于arduino的一套固件,底层基于rtthread和hal库,简化stm32编程☆12May 25, 2023Updated 3 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
- 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.
- ☆10Jun 10, 2014Updated 12 years ago
- DS3231 Library for STM32☆15May 11, 2019Updated 7 years ago
- 基于WebSocket和three.js的实时上位机, 用于显示STM32通过ESP8266发送来的数据波形图, 并绘制路径图☆10May 30, 2018Updated 8 years ago
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 5 years ago
- Code samples for the MagAlpha magnetic angle sensor family☆12Oct 11, 2019Updated 7 years ago
- can tranport layer demo based on iso 15765-2 2016,canfd support in this version☆15Mar 13, 2020Updated 6 years ago
- 连接can设备和ymodem的驱动包☆10Apr 30, 2021Updated 5 years ago
- Text Menu in LCD☆12Aug 30, 2022Updated 4 years ago
- dwin☆13Apr 10, 2019Updated 7 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.
- Analog Devices Analog Digital Converter AD7173 Arduino library☆11Nov 20, 2022Updated 4 years ago
- 嵌入式最小驱动程序框架☆11Jun 11, 2017Updated 9 years ago
- 基于stm32F769_emwin的数字可编程直流稳压电源☆13Oct 25, 2021Updated 5 years ago
- MQTT Client For Android,其中包括了MQTT协议、协议在STM32上移植、HTML5测试。☆13May 4, 2018Updated 8 years ago
- UCMapViewer是基于UCMap(OpenGL版)的通用地图开发框架,涵盖了各类GIS数据的展示、查询、编辑、分析等各项功能 ( http://www.creable.cn/kuibu/xiazai.asp ) ,开发者可根据自己的应用需求来定制修改☆12Jan 7, 2019Updated 7 years ago
- Simple key value pairs store only integer and string types.☆12Nov 5, 2018Updated 8 years ago
- 通用Bootloader上位机,通过修改底层驱动支持不同硬件☆13Dec 4, 2023Updated 2 years ago
Are these results useful?