Device Initialization; Programmer's Reference; Table 28-24 Endpoint N Fifo Write Pointer Registers Description - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

USB Device Port
USB_EP0_FWRP
USB_EP1_FWRP
USB_EP2_FWRP
USB_EP3_FWRP
USB_EP4_FWRP
USB_EP5_FWRP
BIT
31
30
29
TYPE
r
r
r
0
0
0
RESET
BIT
15
14
13
TYPE
r
r
r
0
0
0
RESET
Table 28-24. Endpoint n FIFO Write Pointer Registers Description
Name
Reserved
Reserved—These bits are reserved and should read 0.
Bits 31–6
WP
Write Pointer—Points to the next FIFO location to write. The physical address of this FIFO location is
Bits 5–0
actually the sum of the read pointer and the FIFO base, provided through a port to the FIFO controller.
This base address can vary, however if chosen properly, the FIFO RAM address can be concatenated
with the read pointer instead of requiring hardware for addition. The read pointer can be both read and
written. This ability facilitates the debugging of the FIFO controller and peripheral drivers.

28.4 Programmer's Reference

The programmer's reference guide gives details on how to program the USB module. This section covers
device initialization, processing vendor requests, normal datapath operations, interrupt services, and reset
operation.

28.5 Device Initialization

During device initialization, user software downloads critical configuration information to the UDC
module and prepares the USB module datapath for processing. This process is performed at two different
times: at reset (hard reset or software reset via RST bit in the USB_DDAR register) and when the device is
first connected to the USB.
28-34
Endpoint 0 FIFO Write Pointer Register
Endpoint 1 FIFO Write Pointer Register
Endpoint 2 FIFO Write Pointer Register
Endpoint 3 FIFO Write Pointer Register
Endpoint 4 FIFO Write Pointer Register
Endpoint 5 FIFO Write Pointer Register
28
27
26
25
r
r
r
r
0
0
0
0
12
11
10
9
r
r
r
r
0
0
0
0
MC9328MX1 Reference Manual
24
23
22
21
r
r
r
r
0
0
0
0
0x0000
8
7
6
5
r
r
r
rw
0
0
0
0
0x0000
Description
Addr
0x00212058
0x00212088
0x002120B8
0x002120E8
0x00212118
0x00212148
20
19
18
17
r
r
r
r
0
0
0
0
4
3
2
1
WP
rw
rw
rw
rw
0
0
0
0
MOTOROLA
16
r
0
0
rw
0

Advertisement

Table of Contents
loading

Table of Contents