Universal Serial Bus Device
LH79524/LH79525 User’s Guide
17-8
Version 1.0
17.2 Register Reference
This section provides the USB Device register memory mapping and bit fields.
17.2.1 Memory Map
The base address for the USB Device is 0xFFFF5000. Table 17-3 summarizes the USB
Device registers.
Table 17-3. USB Register Summary
ADDRESS
OFFSET
NAME
DESCRIPTION
0x000
FAR
Function Address Register
0x004
PMR
Power Management Register
0x008
IIR
Interrupt Register for Endpoint 0, 1, 2, and 3.
0x00C
///
Reserved — Do not access
0x010
OIR
Interrupt register for OUT Endpoint 1 and 2.
0x014
///
Reserved — Do not access
0x018
UIR
Interrupt register for common USB interrupts.
0x01C
IIE
Interrupt enable register for IIR.
0x020
///
Reserved — Do not access
0x024
OIE
Interrupt enable register for OIR.
0x028
///
Reserved — Do not access
0x02C
UIE
Interrupt enable register for UIR.
0x030
FRAME1
Frame number bits 0 to 7.
0x034
FRAME2
Frame number bits 8 to 10.
0x038
INDEX
Index register for selecting the endpoint when accessing the
status and control registers.
0x03C
///
Reserved — Do not access
0x040
INMAXP
Maximum packet size for IN endpoint. (INDEX register set to
select Endpoints 1, 2, or 3 only)
0x044
CSR0
Control Status register for Endpoint 0. (INDEX register set to
select Endpoint 0)
INCSR1
Control Status register 1 for IN endpoint. (INDEX register set to
select Endpoints 1, 2, and 3)
0x048
INCSR2
Control Status register 2 for IN endpoint. (INDEX register set to
select Endpoints 1, 2, and 3 only)
0x04C
OUTMAXP
Maximum packet size for OUT endpoint. (INDEX register set to
select Endpoints 1 and 2 only)
0x050
OUTCSR1
Control Status register 1 for OUT endpoint. (INDEX register set
to select Endpoints 1 and 2 only)
0x054
OUTCSR2
Control Status register 2 for OUT endpoint. (INDEX register set
to select Endpoints 1 and 2 only)