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.
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...