欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F345 参数 Datasheet PDF下载

C8051F345图片预览
型号: C8051F345
PDF下载: 下载PDF文件 查看货源
内容描述: 全速USB闪存单片机系列 [Full Speed USB Flash MCU Family]
分类和应用: 闪存
文件页数/大小: 288 页 / 3090 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F345的Datasheet PDF文件第172页浏览型号C8051F345的Datasheet PDF文件第173页浏览型号C8051F345的Datasheet PDF文件第174页浏览型号C8051F345的Datasheet PDF文件第175页浏览型号C8051F345的Datasheet PDF文件第177页浏览型号C8051F345的Datasheet PDF文件第178页浏览型号C8051F345的Datasheet PDF文件第179页浏览型号C8051F345的Datasheet PDF文件第180页  
C8051F340/1/2/3/4/5/6/7
16.5.2. FIFO Double Buffering
FIFO slots for Endpoints1-3 can be configured for double-buffered mode. In this mode, the maximum
packet size is halved and the FIFO may contain two packets at a time. This mode is available for
Endpoints1-3. When an endpoint is configured for Split Mode, double buffering may be enabled for the IN
Endpoint and/or the OUT endpoint. When Split Mode is not enabled, double-buffering may be enabled for
the entire endpoint FIFO. See Table 16.3 for a list of maximum packet sizes for each FIFO configuration.
Table 16.3. FIFO Configurations
Endpoint
Number
0
1
2
3
Split Mode
Enabled?
N/A
N
Y
N
Y
N
Y
Maximum IN Packet Size (Dou-
ble Buffer Disabled / Enabled)
Maximum OUT Packet Size
(Double Buffer Disabled /
Enabled)
64
128 / 64
64 / 32
256 / 128
128 / 64
512 / 256
256 / 128
256 / 128
128 / 64
64 / 32
16.5.1. FIFO Access
Each endpoint FIFO is accessed through a corresponding FIFOn register. A read of an endpoint FIFOn
register unloads one byte from the FIFO; a write of an endpoint FIFOn register loads one byte into the end-
point FIFO. When an endpoint FIFO is configured for Split Mode, a read of the endpoint FIFOn register
unloads one byte from the OUT endpoint FIFO; a write of the endpoint FIFOn register loads one byte into
the IN endpoint FIFO.
USB Register Definition 16.6. FIFOn: USB0 Endpoint FIFO Access
R/W
Bit7
R/W
Bit6
R/W
Bit5
R/W
Bit4
R/W
Bit3
R/W
Bit2
R/W
Bit1
R/W
Bit0
Reset Value
FIFODATA
00000000
USB Address:
0x20 - 0x23
USB Addresses 0x20–0x23 provide access to the 4 pairs of endpoint FIFOs:
IN/OUT Endpoint FIFO
0
1
2
3
USB Address
0x20
0x21
0x22
0x23
Writing to the FIFO address loads data into the IN FIFO for the corresponding endpoint.
Reading from the FIFO address unloads data from the OUT FIFO for the corresponding
endpoint.
176
Rev. 1.0