A FIFO (First In First Out)
来源:互联网 发布:河南网络信访平台 编辑:程序博客网 时间:2024/05/17 08:53
A FIFO (First In First Out) is a type of buffer, where the first byte to arrive is the first to leave.
BrainBoxes Serial Devices all have Hardware FIFOs. FIFOs reduce the chances of data loss by 'buffering' the data. This way the device driver can then read all of the data from the FIFO in one go, whilst communication is still continuing.
If you imagine someone asking you to load apples on to a lorry. If they hand you one at a time they are likely to be ready with the next apple before you have got back from the lorry. If you ask them to fill a box however, whilst you take a box they can be filling the next box. This is how a FIFO works. You use what is called a trigger level to determine at what point (how full) the buffer should be emptied by the driver; or in the analogy how full do you let the box get before taking it to the lorry. Some Brain Boxes cards have the standard 16 byte FIFO on it, but some have a 64 byte FIFO and Photon cards have a 128 byte FIFO. In an application where it may not be possible to implement flow control a very large buffer with a modest receive trigger level can significantly reduce data loss.
- A FIFO (First In First Out)
- FIFO队列(First In First Out)和优先队列
- FIFO(First-In First-Out)先进先出页面置换算法详解
- Stack(last in first out) and Exception
- First In
- first unique character in a string
- Find first repeating letter in a String
- 152.First Unique Character in a String
- [Leetcode]First Unique Character in a String
- 387. First Unique Character in a String
- First Unique Character in a String
- LeetCode: First Unique Character in a String
- First Unique Character in a String
- 387.First Unique Character in a String
- 387. First Unique Character in a String
- 387. First Unique Character in a String
- 387. First Unique Character in a String
- LeetCode-First Unique Character in a String
- ARM Linux 3.x的设备树(Device Tree)
- JS刷新当前页面
- PostgreSQL 存储过程
- 斐波那契堆栈实现(递归的代码实现)
- lua面向对象编程之点号(.)与冒号(:)的差异详细比较
- A FIFO (First In First Out)
- Cocos2d-x入门之常用类介绍
- Redis 命令参考
- 通过LeakDiag查看内存泄漏
- 更改aspx页面编码格式
- Uni2D 入门 -- Atlas
- oc学习之旅:协议
- arm-linux-gcc安装
- Windows 内存泄漏检测工具——LeakDiag