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

X  

ST63142 数据表(PDF) 22 Page - STMicroelectronics

部件名 ST63142
功能描述  8-BIT HCMOS MCUs FOR TV FREQUENCY & VOLTAGE SYNTHESIS WITH OSD
PDF  86 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST63142 数据表(HTML) 22 Page - STMicroelectronics

Back Button ST63142 Datasheet HTML 18Page - STMicroelectronics ST63142 Datasheet HTML 19Page - STMicroelectronics ST63142 Datasheet HTML 20Page - STMicroelectronics ST63142 Datasheet HTML 21Page - STMicroelectronics ST63142 Datasheet HTML 22Page - STMicroelectronics ST63142 Datasheet HTML 23Page - STMicroelectronics ST63142 Datasheet HTML 24Page - STMicroelectronics ST63142 Datasheet HTML 25Page - STMicroelectronics ST63142 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 86 page
background image
Interrupt Procedure. The interrupt procedure is
very similar to a call procedure, indeed the user
can consider the interrupt as an asynchronous call
procedure. As this is an asynchronous event the
user does not know about the context and the time
at which it occurred. As a result the user should
save all the data space registers which will be used
inside the interrupt routines. There are separate
sets of processor flags for normal, interrupt and
non-maskable interrupt modes which are automat-
ically switched and so these do not need to be
saved.
The following list summarizes the interrupt proce-
dure:
ST631xx actions
- Interrupt detection
- The flags C and Z of the main routine are ex-
changed with the flags C and Z of the interrupt
routine (or the NMI flags)
- The value of the PC is stored in the first level of
the stack
- The normal interrupt lines are inhibited (NMI
still active)
- First internal latch is cleared
- The related interrupt vector is loaded in the PC.
User actions
- 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) the interrupt flag of the source.
- Interrupt servicing
- Return from interrupt (RETI)
ST631xx actions
- Automatically the ST631xx core switches back
to the normal flags (or the interrupt flags) and
pops the previous PC value from the stack
The interrupt routine begins usually by the identifi-
cation of the device that has generated the inter-
rupt request (by polling). The user should save the
registers which are used inside the interrupt rou-
tine (that holds relevant data) into a software stack.
After the RETI instruction execution, the core car-
ries out the previous actions and the main routine
can continue.
ST631xx Interrupt Details
IR Interrupt (#0). The IRIN Interrupt is connected
to the first interrupt #0 (NMI, 0FFCh). If enabled,
then an interrupt will be generated on a rising edge
at the pin.
Interrupt (#1). On ST631xx no sources are associ-
ated to vector (#1). To avoid any ghost interrupt
due to interrupt (#1) the user must keep the EL1
bit of IOR register to zero.
INTERRUPT (Continued)
LOAD PC FROM
INTERRUPT VECTOR
( FF C / FFD )
SET
INTE RRUPT MAS K
PUSH THE
PC INTO THE STAC K
SEL ECT
INTERNAL MODE FL AG
CHECK IF THERE IS
AN INTERRUPT REQUES T
AND INTE RRUPT MASK
INSTRUCTION
WA S
THE INST RUCTION
ARETI
IS THE CORE
ALREADY IN
NORMAL MODE ?
FE TCH
INST RUCTION
EX ECUTE
INST RUCTION
CLEA R
INTERRUPT MAS K
SELECT
PROGRAM FLA GS
” POP ”
THE STACK ED PC
NO
NO
YES
YE S
?
?
NO
YES
VA000014
Figure 19. Interrupt Processing Flow-Chart
®
ST63140,142,126,156
18/82



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


数据表 下载

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