MB2146-410A-01-E Fujitsu Semiconductor America Inc, MB2146-410A-01-E Datasheet - Page 23

KIT STARTER MB95200/210H SERIES

MB2146-410A-01-E

Manufacturer Part Number
MB2146-410A-01-E
Description
KIT STARTER MB95200/210H SERIES
Manufacturer
Fujitsu Semiconductor America Inc
Series
F²MC-8FXr
Type
MCUr
Datasheet

Specifications of MB2146-410A-01-E

Contents
Board, BGM Adapter, Documentation, Cable, CD
For Use With/related Products
MB95200H, MB95210H
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
865-1107

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MB2146-410A-01-E
Manufacturer:
Fujitsu Semiconductor America
Quantity:
135
Part Number:
MB2146-410A-01-E
Manufacturer:
Fujitsu
Quantity:
1
4.3.3 Vectors.c File.
The Vectors.c contains the MB95200H/210H MCU Interrupt vector definition.
User can pre-set all interrupt control registers in function InitIrqLevels(). It can be used to set all in-
terrupt priorities in static applications. For example, to set the external interrupt ch.0 to level 0,
change the following code:
ILR0 = 0xFF;
To
ILR0 = 0xFC;
And declare the interrupt function as in Vectors.c below,
……
__interrupt void external_int00 (void);
……
#pragma intvect external_int00 0 // IRQ0: external interrupt ch0 | ch4
Then user can write his own interrupt sub-routine in Main.C shown as below.
/*--------------------- INTERRUPT SERVICE ROUTINE ---------------------------*/
__interrupt void external_int00(void)
{
}
4.3.4 Main.c File
Main.c contains the user code.
// IRQ1: external interrupt ch.1 | ch.5
// IRQ2: external interrupt ch.2 | ch.6
// IRQ3: external interrupt ch.3 | ch.7
//User code
// IRQ2: external interrupt ch.2 | ch.6
// IRQ3: external interrupt ch.3 | ch.7
// IRQ1: external interrupt ch.1 | ch.5
// IRQ0: external interrupt ch.0 | ch.4
// IRQ0: external interrupt ch.0 | ch.4
19

Related parts for MB2146-410A-01-E