Chapter 12. Universal Serial Bus (USB)
12-15
Register Description and Programming Model
Table 12-11 lists field descriptions for the IEP0CFG register. Only longword writes are
allowed. The maximum packet size for endpoint 0 is eight bytes. Writing to the register
resets the FIFO. Any data in the FIFO are discarded, and the associated EPnDP register is
also reset.
12.3.2.11 USB Endpoint 0 OUT Configuration Register (OEP0CFG)
Figure 12-14 shows the USB endpoint 0 OUT configuration register.
31
22
21
20
16
Field
MAX_PACKET
—
FIFO_SIZE
Reset
0000_0000_0000_0000
R/W
R/W
15
11
10
9
0
Field
FIFO_SIZE
—
FIFO_ADDR
Reset
0000_0000_0000_0000
R/W
R/W
Addr
MBAR + 0x1028
Figure 12-13. USB Endpoint 0 IN Configuration Register (IEP0CFG)
Table 12-11. IEP0CFG Field Descriptions
Bits
Name
Descriptions
31–22
MAX_PACKET
Maximum packet size. Must be written with the maximum packet size defined in the device
descriptor for endpoint 0 or the endpoint descriptors for other endpoints.
21
—
Reserved, should be cleared.
20–11
FIFO_SIZE
Size of the FIFO. Sets the depth of the FIFO buffer for the endpoint. The FIFO size must be
a power of 2. For non-isochronous endpoints, the FIFO size must be at least two times the
maximum packet size.
10
—
Reserved, should be cleared.
9–0
FIFO_ADDR
Starting address in the FIFO buffer memory for the endpoint’s FIFO. Reading this field
returns the current write pointer for IN endpoints or the read pointer for OUT endpoints for
the FIFO.
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...