參數(shù)資料
型號(hào): ST52X420
廠商: 意法半導(dǎo)體
元件分類: ADC
英文描述: 8-BIT INTELLIGENT CONTROLLER UNIT (ICU) Three Timer/PWMs, ADC, WDG
中文描述: 8位智能控制器病房(ICU)3個(gè)定時(shí)器/的PWM,ADC的,水分散粒劑
文件頁(yè)數(shù): 28/84頁(yè)
文件大?。?/td> 1274K
代理商: ST52X420
ST52T410/ST52T420/E420
28/84
4 INTERRUPTS
The Control Unit (CU) responds to peripheral
events and external events via its interrupt
channels.
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
vector 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 Table
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 storing the arithmetic flags and the current
PC in the stack and executing the associated
Interrupt routine, whose address is located in three
bytes of the EPROM memory location between
address 2 and 17.
The Interrupt routine is performed as a normal
code, checking if a higher priority interrupt has to
be passed at the end of each instruction. An
Interrupt request with the higher priority stops the
lower priority Interrupt. The Program Counter and
the arithmetic flags are stored in the stack.
With the RETI (Return from Interrupt) instruction
the arithmetic flags and Program Counter (PC) are
restored from the top of the stack. This stack was
already described in section RAM and STACK.
An Interrupt request cannot stop processing of the
fuzzy rule, but this is passed only after the end of a
fuzzy rule or at the end of a logic, or arithmetic
instruction.
NOTE: A fuzzy routine can only be interrupted
in the Main program. An interrupt request
cannot stop a Fuzzy function that is running
inside another interrupt routine. In order to use
a Fuzzy function inside an interrupt routine, the
user MUST include the Fuzzy function between
an UDGI (MDGI) instruction and an UEGI
(MEGI)
instruction
paragraphs), so that the interrupt request may
be disabled during the execution of the fuzzy
function.
(see
the
following
4.2 Global Interrupt Request Enabling
When an Interrupt occurs, it generates a Global
Interrupt Pending (GIP), that can be masked by
software. After a GIP a Global Interrupt Request
(GIR) will be generated and Interrupt service
Figure 4.1 Interrupt Flow
Figure 4.2 Interrupt Vectors mapping
Figure 4.3 Global Interrupt Request generation
NORMAL
PROGRAM
FLOW
INTERRUPT
SERVCE
ROUTINE
RETI
INSTRUCTION
INTERRUPT
INT_EXT
INT_ADC
INT_PWM/
0
TIMER
INT_PWM/
1
TIMER
INT_PWM/
2
TIMER
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
INTERRUPT
VECTORS
Global Interrupt
Pending
User Global
Interrupt Mask
Macro Global
Global Interrupt
Request
相關(guān)PDF資料
PDF描述
ST5771 PNP Switching Transistor
ST5771-1 PNP Switching Transistor
ST6235BQ1 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST62T35B 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
ST62E35B 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52X430 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST52X430KIT 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST-53 制造商:Taiyo Electric Ind. 功能描述:
ST5-3/12-.5/12-.5 功能描述:PWR SUPPLY LINEAR DUAL OUTPUT RoHS:否 類別:電源 - 外部/內(nèi)部(非板載) >> AC DC 轉(zhuǎn)換器 系列:ST5 產(chǎn)品培訓(xùn)模塊:MP Modular-Configurable AC-DC Power Supply 特色產(chǎn)品:Configurable Power Supplies 標(biāo)準(zhǔn)包裝:1 系列:MP
ST5-30 制造商:SUPERWORLD 制造商全稱:Superworld Electronics 功能描述:POWER TRANSFORMER