数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2593 数据表(PDF) 5 Page - STMicroelectronics

部件名 AN2593
功能描述  STR91x interrupt management
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2593 数据表(HTML) 5 Page - STMicroelectronics

  AN2593 Datasheet HTML 1Page - STMicroelectronics AN2593 Datasheet HTML 2Page - STMicroelectronics AN2593 Datasheet HTML 3Page - STMicroelectronics AN2593 Datasheet HTML 4Page - STMicroelectronics AN2593 Datasheet HTML 5Page - STMicroelectronics AN2593 Datasheet HTML 6Page - STMicroelectronics AN2593 Datasheet HTML 7Page - STMicroelectronics AN2593 Datasheet HTML 8Page - STMicroelectronics AN2593 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 15 page
background image
AN2593
STR91x vectored interrupt controller VIC
5/15
1.2.2
FIQ interrupt management
For FIQ there are no priority levels. When an enabled FIQ interrupt occurs, the VIC signals it
directly to the ARM core by asserting the FIQ interrupt line.
Then the ARM core switches to FIQ mode, and goes to address 0x1C where you must
implement the FIQ interrupt handler.
Normally in order to lower FIQ interrupt latency only one interrupt should be configured as
FIQ. But it is possible to configure several interrupts as FIQ, and in this case the application
software must read the FIQ status registers of both VIC0 and VIC1 in order to determine the
source of the FIQ interrupt.
When the interrupt flag is cleared in the peripheral(s) that generated the interrupt, the VIC
then will stop asserting the FIQ interrupt to CPU and the flag will be cleared in the VIC FIQ
status register.
1.2.3
IRQ interrupt management
There are two possible ways for handling IRQ interrupts in the VIC:
1.
Vectored handling
2.
Simple (Non vectored) handling
Vectored handling ensures the best interrupt latency because it takes advantage of the
vectored support in the VIC.
Simple handling does not use the hardware priority management of the VIC, but it uses a
software priority management. Although this method increases the interrupt latency, it can
be useful in special cases where a VIC1 interrupt has to be configured with a higher priority
level than a VIC0 interrupt, this is not possible when using the hardware priority
management due to the hardwired priority between VIC0 and VIC1 (see Section 1.2.1).
Vectored handling of IRQ interrupts
When an IRQ interrupt from VIC0 or from VIC1 occurs, then depending on its priority level,
two cases are possible:
– If the interrupt has a lower priority than the current interrupt being processed, then it
remains pending in the VIC until it becomes the higher priority interrupt.
– If the interrupt has the highest priority level then the VIC0 Vector Address register
VIC0_VAR will be loaded with the address of the interrupt service routine and an IRQ
interrupt will be signalled to CPU.
Note:
The VIC0_VAR will be loaded with the ISR address of the interrupt independently from the
origin of the interrupt either from VIC0 or from VIC1.
The vectored flow for handling an IRQ interrupt is the following:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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