Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP47C101 Datasheet(PDF) 18 Page - Toshiba Semiconductor

Part # TMP47C101
Description  CMOS 4-bit Microcontroller
PDF  32 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

TMP47C101 Datasheet(HTML) 18 Page - Toshiba Semiconductor

Back Button TMP47C101 Datasheet HTML 14Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 15Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 16Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 17Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 18Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 19Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 20Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 21Page - Toshiba Semiconductor TMP47C101 Datasheet HTML 22Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 32 page
background image
18/32
TOSHIBA CORPORATION
TMP47C101/201
Example 1: To enable IOVF1, INT1, and INT2 interrupts.
LD
A,#0101B
; EIR
←0101
B
XCH
A,EIR
EICLR
IL,111111B
; EIF
←1
Example 2: To set the EIF to “1”, and to clear the inter-
rupt latches except ITMR to “0”.
EICLR
IL,000010B
; EIF
←1, IL
0←0, IL2-
IL5←0
2.8.2 Interrupt Processing
An interrupt request is held until the interrupt is accepted or the
IL is cleared by the reset of the interrupt latch operation
instruction.The interrupt acknowledge processing is performed
in 2 instruction cycles after the end of the current instruction
execution (or after the timer/counter processing if any). The
interrupt service program terminates upon execution of the
interrupt return instruction [RETI].
The interrupt acknowledge processing consists of the fol-
lowing sequence:
Œ The contents of the program counter and the flags are
saved on the stack.
 The interrupt entry address corresponding to the inter-
rupt source is set to the program counter.
Ž The status flag is set to “1”.
 The EIF is cleared to “0”, temporarily disabling the ac-
ceptance of subsequent interrupts.
 The interrupt latch for the accepted interrupt source is
cleared to “0”.
‘ The instruction stored at the interrupt entry address is
executed. (Generally, in the program memory space at
the interrupt entry address, the branch instruction to
each interrupt processing program is stored.)
Figure 2-22. Interrupt Timing Chart (Example)
To perform the multi-interrupt, the EIF is set to “1” in the
interrupt service program, and the acceptable interrupt
source is selected by the EIR. However, for the INT1 interrupt,
the interrupt service is disabled under software control be-
cause it is not disabled by the EIR.
Example: The INT1 interrupt service is disabled under
software control (Bit 0 of RAM [05H] are as-
signed to the disabling switch of interrupt ser-
vice).
PINT1:
TEST
05H,0
; Skips if RAM [05H] 0
is “1”
B
SINT1
RET1
SINT1:
:
The Interrupt return instruction [RETI] performs the follow-
ing operations:
Œ Restores the contents of the program counter and the
flags from the stack.
 Sets the EIF to “1” to provide the interrupt enable state
again.



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


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