TMP86xy12MG Toshiba, TMP86xy12MG Datasheet - Page 46

no-image

TMP86xy12MG

Manufacturer Part Number
TMP86xy12MG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy12MG

Package
SSOP30
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
16
Ram Size
512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
8
Da Converter Channels
-
Timer Counter 18-bit Channel
IGBT
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
24
Power Supply (v)
4.5 to 5.5
Example 1 :Enables interrupts individually and sets IMF
Example 2 :C compiler description example
3.2.2 Individual interrupt enable flags (EF28 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 (EF28 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 35
; IMF
; EF15 to EF13, EF11, EF7, EF5
; IMF
/* 3AH shows EIRL address */
Note: IMF should not be set.
0
1
1
TMP86CH12MG

Related parts for TMP86xy12MG