欢迎访问ic37.com |
会员登录 免费注册
发布采购

CY7C63613-SC 参数 Datasheet PDF下载

CY7C63613-SC图片预览
型号: CY7C63613-SC
PDF下载: 下载PDF文件 查看货源
内容描述: 低速USB外设控制器 [Low-speed USB Peripheral Controller]
分类和应用: 微控制器和处理器外围集成电路光电二极管可编程只读存储器时钟
文件页数/大小: 36 页 / 298 K
品牌: CYPRESS [ CYPRESS ]
 浏览型号CY7C63613-SC的Datasheet PDF文件第20页浏览型号CY7C63613-SC的Datasheet PDF文件第21页浏览型号CY7C63613-SC的Datasheet PDF文件第22页浏览型号CY7C63613-SC的Datasheet PDF文件第23页浏览型号CY7C63613-SC的Datasheet PDF文件第25页浏览型号CY7C63613-SC的Datasheet PDF文件第26页浏览型号CY7C63613-SC的Datasheet PDF文件第27页浏览型号CY7C63613-SC的Datasheet PDF文件第28页  
FOR  
FOR  
CY7C63411/12/13  
CY7C63511/12/13  
CY7C63612/13  
15.0  
Interrupts  
All interrupts are maskable by the Global Interrupt Enable Register and the USB End Point Interrupt Enable Register. Writing a  
1to a bit position enables the interrupt associated with that bit position. During a reset, the contents the Global Interrupt Enable  
Register and USB End Point Interrupt Enable Register are cleared, effectively disabling all interrupts.  
7
6
5
4
3
2
1
0
R/W  
R/W  
R/W  
R/W  
R/W  
Reserved  
Reserved  
GPIO  
Interrupt  
Enable  
DAC  
Interrupt  
Enable  
Reserved  
1.024-ms  
Interrupt  
Enable  
128-µsec  
Interrupt  
Enable  
USB Bus RST  
Interrupt  
Enable  
7
6
5
4
3
2
1
0
R/W  
R/W  
R/W  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
EPA2  
Interrupt  
Enable  
EPA1  
Interrupt  
Enable  
EPA0  
Interrupt  
Enable  
Figure 15-1. USB End Point Interrupt Enable Register 0x21h (read/write)  
Pending interrupt requests are recognized during the last clock cycle of the current instruction. When servicing an interrupt, the  
hardware will first disable all interrupts by clearing the Interrupt Enable bit in the Processor Status and Control Register. Next, the  
interrupt latch of the current interrupt is cleared. This is followed by a CALL instruction to the ROM address associated with the  
interrupt being serviced (i.e., the Interrupt Vector). The instruction in the interrupt table is typically a JMP instruction to the address  
of the Interrupt Service Routine (ISR). The user can re-enable interrupts in the interrupt service routine by executing an EI  
instruction. Interrupts can be nested to a level limited only by the available stack space.  
The Program Counter value as well as the Carry and Zero flags (CF, ZF) are automatically stored onto the Program Stack by the  
CALL instruction as part of the interrupt acknowledge process. The user firmware is responsible for insuring that the processor  
state is preserved and restored during an interrupt. The PUSH A instruction should be used as the first command in the ISR to  
save the accumulator value and the POP A instruction should be used just before the RETI instruction to restore the accumulator  
value. The program counter CF and ZF are restored and interrupts are enabled when the RETI instruction is executed.  
15.1  
Interrupt Vectors  
The Interrupt Vectors supported by the USB Controller are listed in Table 15-1. Although Reset is not an interrupt, per se, the first  
instruction executed after a reset is at PROM address 0x0000hwhich corresponds to the first entry in the Interrupt Vector Table.  
Because the JMP instruction is 2 bytes long, the interrupt vectors occupy 2 bytes.  
Table 15-1. Interrupt Vector Assignments  
Interrupt Vector Number  
ROM Address  
0x0000h  
0x0002h  
0x0004h  
0x0006h  
0x0008h  
0x000Ah  
0x000Ch  
0x000Eh  
0x0010h  
0x0012h  
0x0014h  
0x0016h  
0x0018h  
Function  
Execution after Reset begins here  
USB Bus Reset interrupt  
128-µs timer interrupt  
1.024-ms timer interrupt  
USB Address A Endpoint 0 interrupt  
USB Address A Endpoint 1 interrupt  
USB Address A Endpoint 2 interrupt  
Reserved  
not applicable  
1
2
3
4
5
6
7
8
Reserved  
9
Reserved  
10  
11  
12  
DAC interrupt  
GPIO interrupt  
Reserved  
Document #: 38-08027 Rev. **  
Page 24 of 36  
 复制成功!