Electronic Components Datasheet Search
  English  ▼

X  

TMP88CS43FG Datasheet(PDF) 36 Page - Toshiba Semiconductor

Part # TMP88CS43FG
Description  8 Bit Microcontroller
PDF  218 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

TMP88CS43FG Datasheet(HTML) 36 Page - Toshiba Semiconductor

Back Button TMP88CS43FG Datasheet HTML 32Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 33Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 34Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 35Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 36Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 37Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 38Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 39Page - Toshiba Semiconductor TMP88CS43FG Datasheet HTML 40Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 218 page
background image
Page 26
3. Interrupt Control Circuit
3.1 Interrupt latches (IL38 to IL2)
TMP88CS43FG
Note 1: To use the watchdog timer interrupt (INTWDT), clear WDTCR1<WDTOUT> to "0" (It is set for the "Reset request" after
reset is released). It is described in the section "Watchdog Timer" for details.
3.1 Interrupt latches (IL38 to IL2)
An interrupt latch is provided for each interrupt source, except for a software interrupt and an executed the unde-
fined instruction interrupt. When interrupt request is generated, the latch is set to “1”, and the CPU is requested to
accept the interrupt if its interrupt is enabled. The interrupt latch is cleared to "0" immediately after accepting inter-
rupt. All interrupt latches are initialized to “0” during reset.
The interrupt latches are located on address 003CH, 003DH, 002EH, 002FH and 002BH in SFR area. Each latch
can be cleared to "0" individually by instruction. However, IL2 and IL3 should not be cleared to "0" by software. For
clearing the interrupt latch, load instruction should be used and then IL2 should be set to "1". If the read-modify-
write instructions such as bit manipulation or operation instructions are used, interrupt request would be cleared
inadequately if interrupt is requested while such instructions are executed.
Since interrupt latches can be read, the status for interrupt requests can be monitored by software. But interrupt
latches are not set to “1” by an instruction.
Note: In main program, before manipulating the interrupt enable flag (EF) or the interrupt latch (IL), be sure to clear IMF to
"0" (Disable interrupt by DI instruction). Then set IMF newly again as required after operating on the EF or IL
(Enable interrupt by EI instruction)
In interrupt service routine, because the IMF becomes "0" automatically, clearing IMF need not execute normally on
interrupt service routine. However, if using multiple interrupt on interrupt service routine, manipulating EF or IL
should be executed before setting IMF="1".
Example 1 :Clears interrupt latches
DI
; IMF
← 0
LD
(ILL), 1110100000111111B
; IL2 to IL7
← 0
LD
(ILH), 1110100000111111B
; IL8 to IL15
← 0
LD
(ILE), 1110100000111111B
; IL16 to IL23
← 0
LD
(ILD), 1110100000111111B
; IL24 to IL31
← 0
LD
(ILC), 1110100000111111B
; IL32 toIL38
← 0
EI
; IMF
← 1
Example 2 :Reads interrupt latches
LD
WA, (ILL)
; W
← (ILH), A ← (ILL)
LD
BC, (ILE)
; B
← (ILD), C ← (ILE)
LD
D, (ILC)
; D
← (ILC)
Example 3 :Tests interrupt latches
TEST
(ILL). 7
; if IL7 = 1 then jump
JR
F, SSET



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