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

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 = 0x02)
A/D converter interrupt permission
Set output pins of LED1 to LED5.
Initialize the A/D converter.
Set the sampling conditions
Start of main processing
Set an input pin of AN1.
(ADCR:H.byte = 0xF8)
A/D conversion started
Stop the A/D converter
(ADCS:L.byte = 0x89)
(ADCS:H.byte13 = 1)
(ADCS:H.byte9 = 1)
(PDR1.byte = 0x1F,
DDR1.byte = 0x1F)
(ADCS:H.bit15 = 0)
(DDR5.bit1 = 0)
Infinite loop
Figure 8-3 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)
Obtain A/D converted value.
(PDR1.bit2 = !(PDR1.bit2))
-
87
LED lighting processing
(ADCS:H.bit14 = 0)
Turns on/off LED3
(PDR1.byte = 0x00)
-
AD_DATA>171
AD_DATA>142
AD_DATA>113
AD_DATA>87
AD_DATA>66
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 = 0x1C))
(PDR1.byte = 0x010)
(PDR1.byte = 0x1F)
(PDR1.byte = 0x1E)
(PDR1.byte = 0x18)
(9)

Related parts for CT-161-CD