| 数据搜索系统,热门电子元器件搜索 |
|
ST6391 数据表(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6391 数据表(HTML) 22 Page - STMicroelectronics |
|
22 / 68 page ![]() Interrupt Vectors/Sources The ST639x Core includes 5 different interrupt vectors in order to branch to 5 different interrupt routines. The interrupt vectors are located in the fixed (or static) page of the Program Space. The interrupt vector associated with the non-mask- able interrupt source is named interrupt vector #0. It is located at the (FFCh,FFDh) addresses in the Program Space. This vector is associated with the PC6/IRIN pin. The interrupt vectors located at addresses (FF6h,FF7h), (FF4h,FF5h), (FF2h,FF3h), (FF0h,FF1h) are named interrupt vectors #1, #2, #3 and #4 respectively. These vectors are associ- ated with TIMER 2 (#1), VSYNC (#2), TIMER 1 (#3) and PC4(PWRIN) (#4). Interrupt Priority The non-maskable interrupt request has the high- est priority and can interrupt any other interrupt routines at any time, nevertheless the other inter- rupts cannot interrupt each other. If more than one interrupt request is pending, they are processed by the ST639x Core according to their priority level: vector #1 has the higher priority while vector #4 the lower. The priority of each interrupt source is hard- ware fixed. Interrupt Option Register The Interrupt Option Register (IOR register, loca- tion C8h) is used to enable/disable the individual interrupt sources and to select the operating mode of the external interrupt inputs. This register can be addressed in the Data Space as RAM location at the C8h address, nevertheless it is write-only reg- ister that can not be accessed with single-bit op- erations. The operating modes of the external interrupt inputs associated to interrupt vectors #1 and #2 are selected through bits 4 and 5 of the IOR register. D7. Not used. EL1. This is the Edge/Level selection bit of inter- rupt #1. When set to one, the interrupt is generated on low level of the related signal; when cleared to zero, the interrupt is generated on falling edge. The bit is cleared to zero after reset. ES2. This is the edge selection bit on interrupt #2. This bit is used on the ST639x devices with on-chip OSD generator for VSYNC detection. GEN. This is the global enable bit. When set to one all interrupts are globally enabled;when this bit is cleared to zero all interrupts are disabled (excluding NMI). D3 - D0. These bits are not used. Inte rrupt Source Associated Vector Vector Address PC6/IRIN Pin (1) Interrup t Vector # 0 (NMI) 0FFCh-0FFDh Timer 2 Interrup t Vector # 1 0FF6h-0FF7h Vsync Interrup t Vector # 2 0FF4h-0FF5h Timer 1 Interrup t Vector # 3 0FF2h-0FF3h PC4/PWRIN Interrup t Vector # 4 0FF0h-0FF1h Note 1. This pin is associated with the NMI Interrupt Vector Table 6. Interrupt Vectors/Sources Relationships INTERRUPT (Continued) IOR Interr upt Option Register (C8h, Write Only) D7 D6 D5 D4 D3 D2 D1 D0 Unuse d GEN = Global Enab le Bit ES2 = Edge Selection Bit EL1 = Edge Level Selection Bit Unuse d Figure 20. Interrupt Option Register ® ST6391,92,93,95,97,99 18/64 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |