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

X  

AN2021 数据表(PDF) 24 Page - STMicroelectronics

部件名 AN2021
功能描述  The ST10F272B and ST10F272E are members of the STMicroelectronics
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2021 数据表(HTML) 24 Page - STMicroelectronics

Back Button AN2021 Datasheet HTML 20Page - STMicroelectronics AN2021 Datasheet HTML 21Page - STMicroelectronics AN2021 Datasheet HTML 22Page - STMicroelectronics AN2021 Datasheet HTML 23Page - STMicroelectronics AN2021 Datasheet HTML 24Page - STMicroelectronics AN2021 Datasheet HTML 25Page - STMicroelectronics AN2021 Datasheet HTML 26Page - STMicroelectronics AN2021 Datasheet HTML 27Page - STMicroelectronics AN2021 Datasheet HTML 28Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 39 page
background image
New features
AN2021
24/39
Then, in the interrupt routines associated with the XPxIC, the respective flags in the
XIRxSEL registers must be cleared. Since the XIRxSEL registers are not bit addressable, a
pair of registers (a pair for each XIRxSEL) is provided to set and clear the bits of XIRxSEL
without risking to overwrite requests coming after reading the register and before writing it.
Therefore, the following registers must be written to clear the flags:
in the CAN1 interrupt routine, XIR0CLR (@ EB14h) = 0x0001
in the CAN2 interrupt routine, XIR1CLR (@ EB24h) = 0x0001
in the PLL unlock interrupt routine, XIR3CLR (@ EB44h) = 0x0020
Additional information on the X-Interrupt multiplexer structure
Figure 2: X-Interrupt basic structure shows that the X-Interrupt sources are connected to the
interrupt request flag of the XIRxSEL registers and to the XPxIR request flag via an AND
gate with the enable bit. This AND gate is activated by a transition on the Interrupt source
line and not by the latched value in the XIRxSEL register. This means that:
A transition on the IT source line generates an interrupt to the ST10 core if the source
is enabled.
Writing to an interrupt request flag in an XIRxSEL register does not generate an
interrupt to the ST10 core.
Example: If XIR0SEL = 0x0100: CAN1 interrupt enabled on XP0IC interrupt
To trigger by software the CAN1 interrupt routine with the XP0IC register, the following code
must be used:
XIR0SET = 0x0001;/* Set CAN1 interrupt request Flag in XIR0SEL */
XP0IC = XP0IC | 0x0080;/* Set XP0IR flag, generate an interrupt */
Executing only the first line only sets the flag in the XIR0SEL register but it is not seen by the
AND gate and cannot set the XP0IR flag.



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 27 28 29 30 31 32 33 34 35 36 37 38 39


数据表 下载

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