TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 53

no-image

TMP86FS49AFG

Manufacturer Part Number
TMP86FS49AFG
Description
8-Bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FS49AFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Company:
Part Number:
TMP86FS49AFG
Quantity:
3 200
Part Number:
TMP86FS49AFG(Z)
Manufacturer:
Toshiba
Quantity:
10 000
Example 1 :Enables interrupts individually and sets IMF
Example 2 :C compiler description example
www.DataSheet4U.com
3.2.2 Individual interrupt enable flags (EF23 to EF4)
bit of an individual interrupt enable flag to “1” enables acceptance of its interrupt, and setting the bit to “0” dis-
ables acceptance. During reset, all the individual interrupt enable flags (EF23 to EF4) are initialized to “0” and
all maskable interrupts are not accepted until they are set to “1”.
Each of these flags enables and disables the acceptance of its maskable interrupt. Setting the corresponding
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 nor-
mally on interrupt service routine. However, if using multiple interrupt on interrupt service routine, manipulat-
ing EF or IL should be executed before setting IMF="1".
DI
LDW
EI
unsigned int _io (3AH) EIRL;
_DI();
EIRL = 10100000B;
_EI();
:
:
:
(EIRL), 1110100010100000B
Page 37
; IMF
; EF15 to EF13, EF11, EF7, EF5
; IMF
/* 3AH shows EIRL address */
Note: IMF should not be set.
0
1
1
TMP86FS49AFG

Related parts for TMP86FS49AFG