CT-161-CD Fujitsu Semiconductor America Inc, CT-161-CD Datasheet - Page 73
CT-161-CD
Manufacturer Part Number
CT-161-CD
Description
KIT 16LX FOR MB90F387
Manufacturer
Fujitsu Semiconductor America Inc
Series
F²MC-16LXr
Type
MCUr
Specifications of CT-161-CD
Contents
Board, Cable, CD
For Use With/related Products
MB90F387S
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
865-1103
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
CT-161-CD
Manufacturer:
Fujitsu Semiconductor America
Quantity:
135
- Current page: 73 of 106
- Download datasheet (4Mb)
© Fujitsu
5.3.2
Let us now create the actual program.
Appendix A.1, open the source file "main.c" stored in ”sample.prj”, and input the program
portions enclosed by dotted line in Figure 5.4 and Figure 5.5. Use the files other than
"main.c" without modification.
according to the procedure described in Appendix A.2. If an error message is output,
check that the content of the input program is correct. When the build operation ends
successfully, ACCEMIC MDE starts automatically.
After the ACCEMIC MDE window appears, execute the program and check its operation.
For how to execute the program, see Appendix A.3. After the program starts normally,
check LED1. LED1 is blinking when the program is operating normally. Also, press
SW1 to check for normal interrupt operation. The interrupt operation is normal if LED3
goes on and off alternately each time SW1 is pressed.
voi main(void)
{
}
Creating and executing of program
__set_il(7);
__EI();
IO_PDR1.byte = 0x00;
IO_DDR1.byte = 0x1F;
IO_DDR2.byte = 0x00;
IO_ICR06.byte=0x00
IO_ENIR.bit.EN5=0;
IO_ELVA.word=0x0800;
IO_ENRR.bit.ER5=0;
IO_ENIR.bit.EN5=1;
while(1)
{
}
Figure 5.4 Sample program code (main routine)
for(i=0;i<30000;i++);
IO_PDR1.bit.P10 = ~ IO_PDR1.bit.P10;
Program code added
After the input of the program, build the program
-
67
-
According to the procedure described in
(5) LED on/off time count
(6) LED state change
(3) Interrupt-related processing
(INT5)
(4) Enabling interrupt
(2) Port 2 (switch input) input setting
(1) Port 1(LED control) output setting
Setting to use external interrupt
Related parts for CT-161-CD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC POWER SUPPLY MONITOR 8SOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MONITOR 8SOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC MCU 60K FLASH 2KB RAM 52LQFP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC MCU 32BIT 256KB FLASH 120LQFP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC CTLR TOUCH SENSOR 12CH 30SSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC CTLR TOUCH SENSOR 12CH 40QFN
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
SYNTHESIZER PLL DUAL INP 20SSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
SYNTHESZR PLL 1.1GHZ DUAL 16SSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC SSCG EMI RED 8-SOIC
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC SSCG EMI RED 8-TSSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC SSCG EMI RED 8-SOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
SYNTHESIZER PLL 2.5GHZ 16SSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
SYNTHESIZER PLL 1.2GHZ 16SSOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
SYNTHESIZER PLL 2.5GHZ 16BCC
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet:
Part Number:
Description:
IC SSCG EMI RED 8-SOP
Manufacturer:
Fujitsu Semiconductor America Inc
Datasheet: