Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP88CS38 Datasheet(PDF) 30 Page - Toshiba Semiconductor

Part # TMP88CS38
Description  8-bit single chip microcomputer
PDF  226 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

TMP88CS38 Datasheet(HTML) 30 Page - Toshiba Semiconductor

Back Button TMP88CS38 Datasheet HTML 26Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 27Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 28Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 29Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 30Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 31Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 32Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 33Page - Toshiba Semiconductor TMP88CS38 Datasheet HTML 34Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 226 page
background image
TMP88CS38/CM38A/CP38A
2007-09-12
88CS38-30
(3) Interrupt return
The interrupt return instructions [RETI]/[RETN] perform the following operations.
[RETI] Maskable Interrupt Return
[RETN] Non-maskable Interrupt Return
1. The contents of the program counter and
the program status word are restored
from the stack.
1. The contents of the program counter and program status
word are restored from the stack.
2. The stack pointer is incremented 5 times. 2. The stack pointer is incremented 5 times.
3. The interrupt master enable flag is set to
“1”.
3. The interrupt master enable flag is set to “1” only when a
non-maskable interrupt is accepted in interrupt enable status.
However, the interrupt master enable flag remains at “0”
when so clear by an interrupt service program.
4. The interrupt nesting counter is
decremented, and the interrupt nesting
flag is changed.
4. The interrupt nesting counter is decremented, and the
interrupt nesting flag is changed.
Interrupt requests are sampled during the final cycle of the instruction being
executed. Thus, the next interrupt can be accepted immediately after the interrupt
return instruction is executed.
Note:
When the interrupt processing time is longer than the interrupt request generation
time, the interrupt service task is performed but not the main task.
1.5.2
Software Interrupt (INTSW)
Executing the [SWI] instruction generates a software interrupt and immediately starts
interrupt processing (INTSW is highest prioritized interrupt). However, if processing of a
non-maskable interrupt is already underway, executing the SWI instruction will not
generate a software interrupt but will result in the same operation as the [NOP]
instruction.
Use the [SWI] instruction only for detection of the address error or for debugging.
1. Address error detection
FFH is read if for some cause such as noise the CPU attempts to fetch an instruction
from a non-existent memory address. Code FFH is the SWI instruction, so a software
interrupt is generated and an address error is detected. The address error detection
range can be further expanded by writing FFH to unused areas of the program memory.
Address-trap reset is generated in case that an instruction is fetched from RAM, SFR
or DBR areas.
2. Debugging
Debugging efficiency can be increased by placing the SWI instruction at the software
break point setting address.
1.5.3
External Interrupts
The TMP88CS38/CM38A/CP38A each have five external interrupt inputs ( INT0 , INT2,
INT3, INT4, and INT5 ). Three of these are equipped with digital noise rejection circuits
(Pulse inputs of less than a certain time are eliminated as noise). Edge selection is also
possible with INT2, INT3 and INT4.
The INT0 /P50 pin can be configured as either an external interrupt input pin or an
input/output port, and is configured as an input port during reset.
Edge selection, noise rejection control except INT3 pin input and INT0 /P50 pin function
selection are performed by the external interrupt control register (EINTCR). Edge selecting
and noise rejection control for INT3 pin input are preformed by the remote control signal
preprocessor control registers. (Refer to the section of the remote control signal
preprocessor.) When INT0EN
= 0, the IL3 will not be set even if the falling edge of INT0
pin input is detected.



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