Web Analytics
Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F102R4T6A 数据手册 > STM32F102R4T6A 开发手册 4/10 页
STM32F102R4T6A
器件3D模型
¥ 31.338
导航目录
  • 应用领域在P10
STM32F102R4T6A数据手册
Page:
of 10 Go
若手册格式错乱,请下载阅览PDF原文件
FIFO emulation with DMA AN3109
4/10 Doc ID 16795 Rev 1
1 FIFO emulation with DMA
1.1 FIFO overview
FIFO is an acronym for first in, first out. It is an abstraction of the ways of organizing and
manipulating data in terms of time and order. This expression describes a queue-processing
technique. It consists in the servicing of conflicting demands based on the principle of first-
come, first-served: the data that come in first are handled first, the data that come in next
are served after the first data in are removed, etc.
FIFO (first in first out) requires that the first data item input is the first output. It is necessary
to keep track of the amount of data items in the buffer so that data are not dropped or
duplicated.
A circular buffer is an efficient way of implementing a FIFO. Figure 1 shows an 8-byte
circular buffer.
Figure 1. Circular buffer diagram
This buffer has 8 bytes of storage. It is referred to as circular because the next position
accessed after position 7 is position 0.
Figure 2 shows two pointers used to control the movement of data into and out of the buffer.
Figure 2. Circular buffer pointer diagram
The write pointer points to the next available buffer location to be written. It is incremented
when data are placed into the buffer. The read pointer points to the next buffer location to be
read. It is incremented when data are fetched from the buffer.
AI
$ATAIN
$ATAOUT
7RITE
BUFFER
POINTER
2EAD
BUFFER
POINTER
AI

STM32F102R4T6A 数据手册

ST Microelectronics(意法半导体)
78 页 / 1.25 MByte
ST Microelectronics(意法半导体)
22 页 / 0.45 MByte
ST Microelectronics(意法半导体)
156 页 / 4 MByte
ST Microelectronics(意法半导体)
79 页 / 1.14 MByte
ST Microelectronics(意法半导体)
10 页 / 0.1 MByte
ST Microelectronics(意法半导体)
11 页 / 0.09 MByte
ST Microelectronics(意法半导体)
9 页 / 0.02 MByte

STM32F102R4T6 数据手册

ST Microelectronics(意法半导体)
STMICROELECTRONICS  STM32F102R4T6A  芯片, 微控制器, 32位, CORTEX-M3, 48MHZ, LQFP-64
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件