Electronic Components Datasheet Search
  English  ▼

X  

TMP88CS42FG Datasheet(PDF) 40 Page - Toshiba Semiconductor

Part # TMP88CS42FG
Description  8 Bit Microcontroller
PDF  216 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP88CS42FG Datasheet(HTML) 40 Page - Toshiba Semiconductor

Back Button TMP88CS42FG Datasheet HTML 36Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 37Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 38Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 39Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 40Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 41Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 42Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 43Page - Toshiba Semiconductor TMP88CS42FG Datasheet HTML 44Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 216 page
background image
Page 30
3. Interrupt Control Circuit
3.3 Interrupt Sequence
TMP88CS42FG
3.3 Interrupt Sequence
An interrupt request, which raised interrupt latch, is held, until interrupt is accepted or interrupt latch is cleared to
“0” by resetting or an instruction. Interrupt acceptance sequence requires 12 machine cycles (2.4
µs @20 MHz) after
the completion of the current instruction. The interrupt service task terminates upon execution of an interrupt return
instruction [RETI] (for maskable interrupts) or [RETN] (for non-maskable interrupts). Figure 3-1 shows the timing
chart of interrupt acceptance processing.
3.3.1 Interrupt acceptance processing is packaged as follows.
a. The interrupt master enable flag (IMF) is cleared to “0” in order to disable the acceptance of any fol-
lowing interrupt.
b. The interrupt latch (IL) for the interrupt source accepted is cleared to “0”.
c. The contents of the program counter (PC) and the program status word, including the interrupt master
enable flag (IMF), are saved (Pushed) on the stack in sequence of PSWH, PSWL, PCE, PCH, PCL.
Meanwhile, the stack pointer (SP) is decremented by 5.
d. The entry address (Interrupt vector) of the corresponding interrupt service program, loaded on the vec-
tor table, is transferred to the program counter.
e. Read the RBS control code from the vector table, add its MSB(4bit) to the register bank selecter
(RBS).
f. Count up the interrupt nesting counter.
g. The instruction stored at the entry address of the interrupt service program is executed.
Note:When the contents of PSW are saved on the stack, the contents of IMF are also saved.
Note 1: a: Return address, b: Entry address, c: Address which RETI instruction is stored
Note 2: On condition that interrupt is enabled, it takes 62/fc [s] at maximum (If the interrupt latch is set at the first machine cycle on
15 cycle instruction) to start interrupt acceptance processing since its interrupt latch is set.
Figure 3-1 Timing Chart of Interrupt Acceptance/Return Interrupt Instruction
Example: Correspondence between vector table address for INTTBT and the entry address of the interrupt
service program
Interrupt
request
Interrupt
latch (IL)
IMF
Execute
instruction
PC
SP
1-machine cycle
Interrupt service task
n-3 n-4
n-4
a
n-3
n
n-5
a-1
a
b
b+1 b+2
a+1 a+2
b+3
c+2
c+1
Execute
instruction
Execute
instruction
Execute RETI instruction
Interrupt acceptance
a+1
a
n
n-2
n-1
n-2 n-1



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 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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