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

X  

ST52T400 数据表(PDF) 37 Page - STMicroelectronics

部件名 ST52T400
功能描述  8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52T400 数据表(HTML) 37 Page - STMicroelectronics

Back Button ST52T400 Datasheet HTML 33Page - STMicroelectronics ST52T400 Datasheet HTML 34Page - STMicroelectronics ST52T400 Datasheet HTML 35Page - STMicroelectronics ST52T400 Datasheet HTML 36Page - STMicroelectronics ST52T400 Datasheet HTML 37Page - STMicroelectronics ST52T400 Datasheet HTML 38Page - STMicroelectronics ST52T400 Datasheet HTML 39Page - STMicroelectronics ST52T400 Datasheet HTML 40Page - STMicroelectronics ST52T400 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 94 page
background image
ST52T400/T440/E440/T441
37/94
4 INTERRUPTS
The Control Unit (CU) responds to peripheral
events and external events via its interrupt chan-
nels.
When such an events occur, if the related interrupt
is not masked and according to a priority order,
the current program execution can be suspended
to allow the CU to execute a specific response
routine.
Each interrupt is associated with an interrupt vec-
tor that contains the memory address of the
related interrupt service routine. Each vector is
located in the Program Space (EPROM Memory)
at a fixed address (see Interrupt Vectors Figure
4.2).
4.1 Interrupt Operation
If there are pending interrupts at the end of an
arithmetic or logic instruction, the one with the
highest priority is passed. Passing an interrupt
means to store the arithmetic flags and the current
PC in the stack and execute the associated Inter-
rupt routine, whose address is located in three
bytes of the EPROM memory location between
address 3 and 20.
The Interrupt routine is performed as a normal
code checking, at the end of each instruction, if a
higher priority interrupt has to be passed. An Inter-
rupt request with the higher priority stops the
lower priority Interrupt. The Program Counter and
the arithmetic flags are stored in the stack.
With the instruction RETI (Return from Interrupt)
the arithmetic flags and Program Counter (PC) are
restored from the top of the stack, which was pre-
viously described in Section 2.2.1.
An Interrupt request cannot stop fuzzy rule pro-
cessing, but this is passed only after the end of a
fuzzy rule or at the end of a logic, or arithmetic
instruction.
REMARK:
A fuzzy routine can be interrupted only
in the Main program. When a Fuzzy function is
running inside another interrupt routine an inter-
rupt request can cause side effects in the Control
Unit. For this reason, in order to use a Fuzzy func-
tion inside an interrupt routine, the user MUST
include the Fuzzy function between an UDGI
(MDGI) instruction and and UEGI (MEGI) instruc-
tion (see the following paragraphs), in order to dis-
able the interrupt request during the execution of
the fuzzy function.
Figure 4.1 Interrupt Flow
Figure 4.2 Interrupt Vectors Mapping
Figure 4.3 Global Interrupt Request Generation
INT_AC
INT_TRIAC/R
3
4
5
6
7
8
9
10
11
12
13
14
INTERRUPT
VECTORS
INT_TRIAC/F
INT_TIMER/PWM
INT_EXT
15
16
17
18
19
20
INT_TRIAC/P
RESET
0
1
2
NORMAL
PROGRAM
FLOW
INTERRUPT
SERVICE
ROUTINE
RETI
INSTRUCTION
INTERRUPT
Global Interrupt
Pending
User Global
Interrupt Mask
Macro Global
Global Interrupt
Request



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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


数据表 下载

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