GL640USB, GL640USB-A
7.4 USB Register Summary
Mnemonic
DEVCTL
EVTFLG
DEVADR
RXCTL0
TXCTL0
CTLDAT
MISC
GPIO
GPIOCTL
Offset
10h
11h
12h
13h
14h
15h
16h
17h
18h
Description
Device control register
USB function interrupt flag
USB Device address
Endpoint 0 RX control
Endpoint 0 TX control
Endpoint 0/3 FIFO data port
Miscellaneous register
GPIO value
GPIO direction control
Remarks
DEVCTL ( offset 10h )
Default=8’h10
PWRDN
WAKEDIS -
WAKE
EP0STL
DISGLUSB -
R/W
DISGLUSB
R/W
EP0STL
R/W
WAKE
R/W
WAKEDIS
R/W
PWRDN
- Power down mode
If USB suspend is detected, firmware can set PWRDN to put the controller into
power down mode. Power down mode stops oscillator and freezes all clocks at
known states, and no more command can be executed.
Hardware will automatically clear PWRDN upon hardware reset or interrupt
event.
Disable remote wakeup capability
- Wake up host
Write ‘1’ to this bit will place USB bus to K state.
- Endpoint 0 stall
Endpoint 0 will respond with a STALL to a valid transaction.
Disable GL640USB, and bypass all EPP signals
Revision 1.1
-22-
Jun. 7, 1999