Table 28-3 Usb Module Register Memory Map; Programming Model - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

28.3 Programming Model

The USB module includes 20 required and 55 optional 32-bit registers. Table 28-3 summarizes these
registers and their addresses.
USB Frame Number and Match Register
USB Specification and Release Number Register
USB Status Register
USB Control Register
USB Descriptor RAM Address Register
USB Descriptor RAM/Endpoint Buffer Data Register
USB Interrupt Status Register
USB Interrupt Mask Register
USB Enable Register
Endpoint n Status/Control Register
Endpoint n Interrupt Status Register
Endpoint n Interrupt Mask Register
Endpoint n FIFO Data Register
Endpoint n FIFO Status Register
Endpoint n FIFO Control Register
Endpoint n Last Read Frame Pointer Register
Endpoint n Last Write Frame Pointer Register
Endpoint n FIFO Alarm Register
Endpoint n FIFO Read Pointer Register
Endpoint n FIFO Write Pointer Register
1.
The parameter 'n' refers to the number of endpoints programmed into this device through
MPP software in RTL and ranges from 0 to 5.
MOTOROLA
Table 28-3. USB Module Register Memory Map
Description
USB Device Port
Name
USB_FRAME
USB_SPEC
USB_STAT
USB_CTRL
USB_DADR
USB_DDAT
USB_INTR
USB_MASK
USB_ENAB
USB_EPn_STAT
0x00212030+ (n*0x30)
USB_EPn_INTR
0x00212034+ (n*0x30)
USB_EPn_MASK
0x00212038+ (n*0x30)
USB_EPn_FDAT
0x0021203C+ (n*0x30)
USB_EPn_FSTAT
0x00212040+ (n*0x30)
USB_EPn_FCTRL
0x00212044+ (n*0x30)
USB_EPn_LRFP
0x00212048+ (n*0x30)
USB_EPn_LWFP
0x0021204C+ (n*0x30)
USB_EPn_FALRM
0x00212050+ (n*0x30)
USB_EPn_FRDP
0x00212054+ (n*0x30)
USB_EPn_FWRP
0x00212058+ (n*0x30)
Programming Model
Address
0x00212000
0x00212004
0x00212008
0x0021200C
0x00212010
0x00212014
0x00212018
0x0021201C
0x00212024
1
1
1
1
1
1
1
1
1
1
1
28-7

Advertisement

Table of Contents
loading

Table of Contents