參數(shù)資料
型號(hào): ST6391
廠商: 意法半導(dǎo)體
英文描述: 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
中文描述: 8位微控制器HCMOS電視頻率合成帶OSD
文件頁(yè)數(shù): 23/68頁(yè)
文件大?。?/td> 560K
代理商: ST6391
Interrupt Procedure
The interruptprocedureis verysimilar to a call pro-
cedure; the user can consider the interrupt as an
asynchronous call procedure. As this is an asyn-
chronous event the user does not know about the
context and the time at which itoccurred. As a re-
sult the user should save all the data space regis-
ters whichwill be usedinsidetheinterrupt routines.
There are separate sets of processorflags for nor-
mal, interrupt and non-maskable interrupt modes
which are automaticallyswitched and so these do
not need to be saved.
The following list summarizes the interrupt proce-
dure (refer also to Figure 21. InterruptProcessing
Flow Chart):
-
Interrupt detection
-
The flags C and Z of the main routine are ex-
changed with the flags C and Z of the interrupt
routine (resp.the NMIflags)
-
The valueof the PC is stored in the first level of
the stack - The normal interrupt lines are inhib-
ited (NMIstill active)
-
The edgeflip-flop is reset
-
The relatedinterrupt vector is loaded in the PC.
-
User selected registers are saved inside the in-
terrupt service routine (normally on a software
stack)
-
The source of the interrupt is found by polling
(if more than one source is associated to the
same vector)
-
Interrupt servicing
-
Return frominterrupt (RETI)
-
Automatically the ST639x core switches back
to the normal flags (resp the interrupt flags)
and pops the previous PC value fromthe stack
The interruptroutine begins usually by the identifi-
cation of the device that has generated the inter-
rupt request. The user should save the registers
which are used inside the interrupt routine (that
holds relevantdata) intoa software stack.
After the RETIinstruction execution,the Core car-
ries out the previous actions and the main routine
can continue.
ST639x Interrupt Details
IR Interrupt (#0).
The IRIN/PC6 Interrupt is con-
nected to the first interrupt #0 (NMI,0FFCh). Ifthe
IRINT interrupt is disabled at the Latch circuitry,
then it will be high. The #0 interrupt input detectsa
high to low level. Note that once #0 has been
latched, then the only way to remove the latched
#0 signal isto servicetheinterrupt.#0 caninterrupt
the otherinterrupts.A simple latchis providedfrom
the PC6(IRIN) pin in order to generate the IRINT
signal. This latch can be triggered by either the
positive or negative edge of IRIN signal.IRINT is
inverted with respect to the latch.The latch can be
read bysoftware and reset by software.
INTERRUPT
(Continued)
LOAD PC FROM
INTERRUPT VECTOR
( FFC / FFD )
SET
INTERRUPT MASK
PUSH THE
PC INTO THE STACK
SELECT
INTERNAL MODE FLAG
CHECK IF THERE IS
AN INTERRUPT REQUEST
AND INTERRUPT MASK
INSTRUCTION
WAS
THE INSTRUCTION
A RETI
IS THE CORE
ALREADY IN
NORMAL MODE
FETCH
INSTRUCTION
EXECUTE
INSTRUCTION
CLEAR
INTERRUPT MASK
SELECT
PROGRAM FLAGS
” POP ”
THE STACKED PC
NO
NO
YES
YES
NO
YES
VA000014
Figure 21. InterruptProcessingFlow-Chart
ST6391,92,93,95,97,99
19/64
相關(guān)PDF資料
PDF描述
ST6392B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6393B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6395B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6391B1 MOSFET; Transistor Polarity:Dual N Channel; Continuous Drain Current, Id:2.6A; On-Resistance, Rds(on):0.18ohm; Package/Case:8-SOIC; Leaded Process Compatible:No; Mounting Type:surface mount; Peak Reflow Compatible (260 C):No
ST6392 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6391B1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6392 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6392B1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6393 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6393B1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD