Programming Model
MOTOROLA
USB Device Port
28-19
28.3.10 Endpoint n Status/Control Registers
The Endpoint n Status/Control Registers allow the user to configure the endpoints and contains a field for
maintaining a count of the FIFO contents.
The number of Endpoint n Status/Control Registers in the MC9328MX1 depends on the number of
endpoints configured.
USB_EP0_STAT
USB_EP1_STAT
USB_EP2_STAT
USB_EP3_STAT
USB_EP4_STAT
USB_EP5_STAT
Endpoint 0 Status/Control Register
Endpoint 1 Status/Control Register
Endpoint 2 Status/Control Register
Endpoint 3 Status/Control Register
Endpoint 4 Status/Control Register
Endpoint 5 Status/Control Register
Addr
0x00212030
0x00212060
0x00212090
0x002120C0
0x002120F0
0x00212120
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
BYTE_COUNT
TYPE
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0000
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SIP
DIR
MAX
TYP
ZLPS FLUSH
FORCE_
STALL
TYPE
r
r
r
r
r
r
r
rw
rw
rw
rw
rw
rw
rw
w
rw
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0000
Table 28-14. Endpoint n Status/Control Registers Description
Name
Description
Settings
Reserved
Bits 31–23
Reserved—These bits are reserved and should read 0.
BYTE_COUNT
Bits 22–16
Byte Count
—Represents the number of bytes currently stored in the associated FIFO.
Reserved
Bits 15–9
Reserved—These bits are reserved and should read 0.
SIP
Bit 8
Setup Packet In Progress
—Indicates whether the
setup packet is being transferred from host to device.
0 = Setup data is not being
transferred from host to device
1 = Setup data is currently being
transferred from host to device
DIR
Bit 7
Transfer Direction
—Sets the endpoint direction (DIR is
ignored for control endpoints).
0 = OUT endpoint
(from host to device)
1 = IN endpoint
(from device to host)
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...