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

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
© Fujitsu
Set the mode (continuous conversion,
Set the channel. (ADER.byte=0x01)
A/D converter interrupt permission
Set output pins of LED1 to LED5.
Set the sampling conditions.
Initialize the A/D converter.
Start of main processing
Set an input pin of AN1
(ADCR:H.byte = 0xF8)
A/D conversion started
(ADCS:L.byte = 0x80)
(ADCS:H.byte13 = 1)
(ADCS:H.byte9 = 1)
(PDR1.byte = 0x1F,
DDR1.byte = 0x1F)
(ADCS:H.bit15 = 0)
Stop A/D converter.
(DDR5.bit1 = 0)
Infinite loop
Figure 7-5 Flow of the program
(1)
(2)
(3)
(4)
(5)
(6)
Interrupt occurs by A/D conversion end
External interrupt processing starts.
External interrupt factor is cleared.
External interrupt processing ends
(AD_DATA = ADCR:L.byte)
(PDR1.bit2 = !(PDR1.bit2))
-
79
LED lighting processing
(ADCS:H.bit14 = 0)
Turns on/off LED3.
(PDR1.byte = 0x00)
-
Obtain A/D value.
AD_DATA<168
AD_DATA<210
AD_DATA<126
AD_DATA<42
AD_DATA<84
N
N
N
N
N
Y
Y
Y
Y
Y
(7)
(8)
LED lighting processing
LED lighting processing
LED lighting processing
LED lighting processing
LED lighting processing
(PDR1.byte = 0x010)
(PDR1.byte = 0x1C)
(PDR1.byte = 0x1F)
(PDR1.byte = 0x1E)
(PDR1.byte = 0x18)
(9)

Related parts for CT-161-CD