CT-161-CD Fujitsu Semiconductor America Inc, CT-161-CD Datasheet - Page 76

KIT 16LX FOR MB90F387

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
Datasheets

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
Part Number:
CT-161-CD
Manufacturer:
Fujitsu Semiconductor America
Quantity:
135
6.2
Figure 6-2 shows the LED blinking processing with using the timer.
To use the timer to count the LED-on and -off time, the count clock and the number of the
counts need to be specified. The LED-on and -off time can be calculated by using the
following expression. Using the timer, as just described, has the advantage of enabling the
accurate time count.
This section explains how to create a program to control the LED blinking by using a timer
interrupt. The 16-bit reload timer is used for the timer of this program.
In this section, a program that uses the 16-bit reload timer interrupt to count the LED blinking
time is created. The LED operation of this program is the same as that of the program
created in Chapter 2. However, as the operation of the microcomputer, the 16-bit reload
timer instead of the CPU is used for counting the LED-on and -off time. The CPU is not
6.2.1
How to create and execute a program to control the LED blinking by using a timer
interrupt
LED-on and -off time period = count clock cycle × number of counts
In Chapter 2, the LED blinking time is controlled by a WAIT of the loop processing.
CPU processing
Outline of the program to be created
Timer
Count clock cycle
Figure 6-2 LED blinking processing with using the timer
Timer interrupt factor
Number of counts
Timer counter
ON/OFF switching
Interrupt processing
Count not required
LED-on
-
70
Cleared by software
-
ON/OFF switching
Interrupt processing
Count not required
LED-off
Cleared by software
ON/OFF switching
Interrupt processing
Count not required
LED-on
Cleared by
software
LED-off
© Fujitsu

Related parts for CT-161-CD