DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

CY3681 Просмотр технического описания (PDF) - Cypress Semiconductor

Номер в каталоге
Компоненты Описание
производитель
CY3681
Cypress
Cypress Semiconductor Cypress
CY3681 Datasheet PDF : 48 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
CY7C68013
3.8 Interrupt System
3.8.1 INT2 Interrupt Request and Enable Registers
FX2 implements an autovector feature for INT2 and INT4.
There are 27 INT2 (USB) vectors, and 14 INT4 (FIFO/GPIF)
vectors. See FX2 TRM for more details.
3.8.2 USB-Interrupt Autovectors
The main USB interrupt is shared by 27 interrupt sources. To
save the code and processing time that normally would be
required to identify the individual USB interrupt source, the
FX2 provides a second level of interrupt vectoring, called
Autovectoring. When a USB interrupt is asserted, the FX2
pushes the program counter onto its stack then jumps to
address 0x0043, where it expects to find a “jump” instruction
to the USB Interrupt service routine.
The FX2 jump instruction is encoded as shown in Table 3-3.
If Autovectoring is enabled (AV2EN = 1 in the INTSETUP
register), the FX2 substitutes its INT2VEC byte. Therefore, if
the high byte (“page”) of a jump-table address is preloaded at
location 0x0044, the automatically-inserted INT2VEC byte at
0x0045 will direct the jump to the correct address out of the 27
addresses within the page.
Table 3-3. INT2 USB Interrupts
Priority
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
USB Interrupt Table for INT2
INT2VEC Value
Source
Notes
00
SUDAV
SETUP Data Available
04
SOF
Start of Frame (or microframe)
08
SUTOK
Setup Token Received
0C
SUSPEND
USB Suspend request
10
USB RESET
Bus reset
14
HISPEED
Entered high-speed operation
18
EP0ACK
FX2 ACK’d the CONTROL Handshake
1C
reserved
20
EP0-IN
EP0-IN ready to be loaded with data
24
EP0-OUT
EP0-OUT has USB data
28
EP1-IN
EP1-IN ready to be loaded with data
2C
EP1-OUT
EP1-OUT has USB data
30
EP2
IN: buffer available. OUT: buffer has data
34
EP4
IN: buffer available. OUT: buffer has data
38
EP6
IN: buffer available. OUT: buffer has data
3C
EP8
IN: buffer available. OUT: buffer has data
40
IBN
IN-Bulk-NAK (any IN endpoint)
44
reserved
48
EP0PING
EP0 OUT was Pinged and it NAK’d
4C
EP1PING
EP1 OUT was Pinged and it NAK’d
50
EP2PING
EP2 OUT was Pinged and it NAK’d
54
EP4PING
EP4 OUT was Pinged and it NAK’d
58
EP6PING
EP6 OUT was Pinged and it NAK’d
5C
EP8PING
EP8 OUT was Pinged and it NAK’d
60
ERRLIMIT
Bus errors exceeded the programmed limit
64
reserved
68
reserved
6C
reserved
70
EP2ISOERR
ISO EP2 OUT PID sequence error
74
EP4ISOERR
ISO EP4 OUT PID sequence error
78
EP6ISOERR
ISO EP6 OUT PID sequence error
7C
EP8ISOERR
ISO EP8 OUT PID sequence error
Document #: 38-08012 Rev. *E
Page 4 of 48

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]