![Texas Instruments AM1808 Скачать руководство пользователя страница 1708](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581708.webp)
Registers
1708
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Universal Serial Bus 2.0 (USB) Controller
34.4.18 Generic RNDIS EP2 Size Register (GENRNDISSZ2)
The generic RNDIS EP2 size register (GENRNDISSZ2) is programmed with a RNDIS packet size in bytes.
When EP2 is in Generic RNDIS mode, the received USB packets are collected into a single CPPI packet
that is completed when the number of bytes equal to the value of this register have been received, or a
short
packet is received. This register must be programmed with a value that is an integer multiple of the
endpoint size. The maximum value this register can be programmed with is 10000h, or 65536. The
GENRNDISSZ2 is shown in
and described in
Figure 34-44. Generic RNDIS EP2 Size Register (GENRNDISSZ2)
31
17
16
Reserved
EP2_SIZE
R-0
R/W-0
15
0
EP2_SIZE
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 34-48. Generic RNDIS EP2 Size Register (GENRNDISSZ2) Field Descriptions
Bit
Field
Value
Description
31-17
Reserved
0
Reserved
16-0
EP2_SIZE
0-10000h
Generic RNDIS packet size
34.4.19 Generic RNDIS EP3 Size Register (GENRNDISSZ3)
The generic RNDIS EP3 size register (GENRNDISSZ3) is programmed with a RNDIS packet size in bytes.
When EP3 is in Generic RNDIS mode, the received USB packets are collected into a single CPPI packet
that is completed when the number of bytes equal to the value of this register has been received, or a
short
packet is received. This register must be programmed with a value that is an integer multiple of the
endpoint size. The maximum value this register can be programmed with is 10000h, or 65536. The
GENRNDISSZ3 is shown in
and described in
Figure 34-45. Generic RNDIS EP3 Size Register (GENRNDISSZ3)
31
17
16
Reserved
EP3_SIZE
R-0
R/W-0
15
0
EP3_SIZE
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 34-49. Generic RNDIS EP3 Size Register (GENRNDISSZ3) Field Descriptions
Bit
Field
Value
Description
31-17
Reserved
0
Reserved
16-0
EP3_SIZE
0-10000h
Generic RNDIS packet size