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

X  

AN2341 数据表(PDF) 3 Page - STMicroelectronics

部件名 AN2341
功能描述  Programming ST10F27x/F25x CAN interrupt drivers
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2341 数据表(HTML) 3 Page - STMicroelectronics

  AN2341 Datasheet HTML 1Page - STMicroelectronics AN2341 Datasheet HTML 2Page - STMicroelectronics AN2341 Datasheet HTML 3Page - STMicroelectronics AN2341 Datasheet HTML 4Page - STMicroelectronics AN2341 Datasheet HTML 5Page - STMicroelectronics AN2341 Datasheet HTML 6Page - STMicroelectronics AN2341 Datasheet HTML 7Page - STMicroelectronics AN2341 Datasheet HTML 8Page - STMicroelectronics AN2341 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 26 page
background image
AN2341
Interrupt sources and identification
3/26
1
Interrupt sources and identification
Interrupts generated by the CAN modules can come from different sources:
Global interrupt
sources and individual interrupt sources.
1.1
Global interrupt sources
Four interrupt control registers (XIRxSEL, x = 0, 1, 2, 3) are provided in order to generate an
interrupt from different event sources. Each module is linked to its corresponding XPxIC
register (x = 0, 1, 2, 3). Note that an event source can be connected to several XIRxSEL
registers. In particular, each CAN1 and CAN2 event is connected on two interrupt lines:
The new 16-bit register XIRxSEL (x = 0, 1, 2, 3) is divided into two parts:
When different sources submit an interrupt request, the enable bits (Byte High of XIRxSEL
register) define a mask to select the sources to be associated with the unique available
vector. If more than one source is enabled to issue the request, the service routine must
identify the real event to be serviced. This can easily be done by checking the flag bits (Byte
Low of XIRxSEL register). Note that the flag bit provides information about events which are
not currently serviced by the interrupt controller (since masked through the enable bits),
allowing effective software management even when the related interrupt request cannot be
served: A periodic polling of the flag bits may be implemented inside the user application.
Figure 1.
X-Interrupt basic structure
●
CAN1:
XP0INT, XP3INT
●
CAN2:
XP1INT, XP3INT
●
Byte high
(XIRxSEL[15:8])
Interrupt enable bits
●
Byte low
(XIRxSEL[7:0])
Interrupt flag bits
XIRxSEL[7:0] (x = 0, 1, 2, 3)
XIRxSEL[15:8] (x = 0, 1, 2, 3)
XPxIC.IR (x = 0, 1, 2, 3)
70
15
8
IT Source 7
IT Source 6
IT Source 5
IT Source 4
IT Source 3
IT Source 2
IT Source 1
IT Source 0
Enable[7:0]
Flag[7: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


数据表 下载

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