15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
INT |
ISE |
IIN |
IOU |
BY |
X |
X |
ER |
X |
X |
X |
X |
RW |
MO |
BB |
DI |
Figure B-18. USB Control Register
Controls various USB functions. This register is read/write by the MCU only.
Table B-46. USB Control Register
MO |
A value of 1 means: MCU has completed boot sequence and is ready to respond to USB commands |
DI |
A value of 1 means: Disconnect CONFIG device and enumerate again using the downloaded MCU configuration |
BB |
A value of 1 means: After reset boot from MCU RAM, 0 = after reset boot from MCU ROM |
RW |
A value of 1 means: Enables remote wake-up capability, 0 = disables remote wake-up capability |
INT |
Active interrupt for the 8051 MCU |
ISE |
Current interrupt is for a SETUP token |
IIN |
Current interrupt is for an IN token sent with a non zero length data stage |
IOU |
Current interrupt is for an OUT token received with a non zero length data stage |
BY |
Busy bit. A value of 1 means: MCU is busy processing a command. USB interface responds with NAK to further IN/OUT requests from the host until MCU clears this bit. |
ER |
Error in the current SETUP transaction. Generate STALL condition on EP0. |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
X |
X |
X |
X |
X |
EP3 |
EP2 |
EP1 |
EP0 |
A6 |
A5 |
A4 |
A3 |
A2 |
A1 |
A0 |
Figure B-19. USB Address/Endpoint Register
Contains the USB address and active Endpoint. This register is read/write by the MCU only.
Table B-47. USB Address/Endpoint Register
A[6:0] |
USB address assigned to device |
EP[3:0] |
USB last active Endpoint |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
X |
X |
X |
X |
FN1 |
FN9 |
FN8 |
FN7 |
FN6 |
FN5 |
FN4 |
FN3 |
FN2 |
FN1 |
FN1 |
FN0 |
Figure B-20. USB Frame Number Register
Contains the last USB frame number. This register is read by the MCU only.
Table B-48. USB Frame Number Register
FN[10:0] |
USB frame number |
The following example definitions file is for the ADSP-2192 DSP. For the most current definitions file, programs should use the version of this file that comes with the software development tools. The version of the file that appears here is included as a guide only.
/*
------------------------------------------------------------def2192-12.h- SYSTEMR EGISTER BIT& ADDRESSD EFINITIONS FORA DSP-2192-12 DSP
Copyright (c) 2001 Analog Devices, Inc., All rights reserved
The def2192-12.h file defines ALL ADSP-2192-12 DSP symbolic names.
----------------------------------------------------------------------*/
#ifndef __DEF2192_12_H_
#define __DEF2192_12_H_
// Begin with a 219x CORE #include <def219x.h>
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.