поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

ST92163 датащи(PDF) 138 Page - STMicroelectronics

номер детали ST92163
подробное описание детали  8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT
PDF  224 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST92163 датащи(HTML) 138 Page - STMicroelectronics

Back Button ST92163 Datasheet HTML 134Page - STMicroelectronics ST92163 Datasheet HTML 135Page - STMicroelectronics ST92163 Datasheet HTML 136Page - STMicroelectronics ST92163 Datasheet HTML 137Page - STMicroelectronics ST92163 Datasheet HTML 138Page - STMicroelectronics ST92163 Datasheet HTML 139Page - STMicroelectronics ST92163 Datasheet HTML 140Page - STMicroelectronics ST92163 Datasheet HTML 141Page - STMicroelectronics ST92163 Datasheet HTML 142Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 224 page
background image
138/224
ST92163 - USB PERIPHERAL (USB)
USB INTERFACE (Cont’d)
8.3.4 Register Description
USB registers can be divided into three groups:
– Common registers (page 15): interrupt registers
and USB control registers.
– Function and endpoint registers (pages 15, 4
and 5 depending on how many endpoints are im-
plemented): USB function addresses and end-
point status/configurations.
– Extra registers (page 60): device configuration.
8.3.4.1 Common registers
These registers affect all endpoints in the USB in-
terface. They are all mapped in the same ST9 reg-
ister page (page number 15).
The USB interface implements vectorized inter-
rupts: through a vector table it is possible to auto-
matically identify the starting address of each In-
terrupt Service Routine. The vector table contains
the 16-bit addresses pointing to each of the inter-
rupt service routines related to the CTR interrupt
for each endpoint. Other two 8-bit locations are
used to store the address of the service routine
handling the interrupts described in the USBISTR
register. When an interrupt request is acknowl-
edged, the USBIVR register provides a vector
pointing to the location in the vector table, contain-
ing the start address of the interrupt service rou-
tine related to the serviced interrupt.
INTERRUPT VECTOR REGISTER (USBIVR)
R248 - Read/Write
Register page: 15
Reset Value: xxxx xxx0 (xxh)
This register may be used in two different ways de-
pending on the value of the SDNAV bit in the
CTRL register.
– If SDNAV bit = 1, Bits 7:1 are user programmable
(bit 0 is fixed to 0). The software writes the ad-
dress of a vector pointing to a single interrupt
routine. The application program has to select
the routine related to the pending interrupts using
the USBISTR and CTRINF registers.
– If SDNAV = 0, this register is used as a vector
pointing to the 16-bit interrupt vectors in program
memory containing the start addresses of the in-
terrupt service routines related to the occurred
interrupt. If several interrupts are simultaneously
pending, hardware writes in this register the in-
terrupt routine address related to the highest pri-
ority pending interrupt.
In this case the meaning of each bit is:
Bits 7:6 = A[1:0]:
Vector table Address.
These two bits are user programmable and they
contain the two most significant bits of the interrupt
vector table. This allows the user to define the in-
terrupt vector table position inside the first 256 lo-
cations of program memory at 64 bytes boundary.
Bit 5 = CTRO:
Correct Transfer interrupt occurred.
0: CTR interrupt pending
1: One of the interrupt flags in the USBISTR regis-
ter is pending
Note: If several interrupts are simultaneously
pending, hardware writes this bit according to their
relative priorities as listed below starting from the
highest priority one to the lowest priority one:
– DMA Over/Underrun (see Table 24 and USBIS-
TR register description)
– Correct Transfer on isochronous endpoints (see
EPnRA register description)
– Correct Transfer on non-isochronous endpoints
(see EPnRA register description)
– Notification events (see Table 24 and USBISTR
register description).
Bits 4:1 = V[3:1]:
Endpoint Vector.
If CTRO = 1, these bits are written by hardware to
specify the endpoint identifier which has generat-
ed the CTR interrupt request.
If several CTR interrupts are pending, hardware
writes the endpoint identifier related to the end-
point with the highest priority. Endpoint priority is
defined according to the following rule: endpoint 0
has the highest priority, then endpoint 1 follows
and so on up to the highest endpoint register pair
(EP15) with the lowest priority.
If CTRO = 0, these bits are fixed to 1. In this case
only one interrupt vector is used for all the inter-
rupts defined in the USBISTR register.
70
A1
A0
CTRO
V3
V2
V1
V0
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com