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

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
Figure 2.5 Example of circuit to turn on/off an LED (with a conceptual diagram of the internal circuit of
© Fujitsu
PDR1 register
(IO_PDR1.byte)
DDR1 register
(IO_DDR1.byte)
The output settings of pins P10 to P14 are controlled by using the internal registers of the
microcomputer. The pins P10 to P14 are controlled by the PDR1 and DDR1 registers as
shown in Figure 2.6. To use a port for output, write the value (0 [low] or 1 [high]) to be
output to the PDR1 register bit corresponding to the pin, and 1 to the DDR1 register bit
corresponding to the pin.
Registers are the memory areas to control microcomputer operation and retain microcomputer
operation status. Writing data to, and reading data from registers enables you to control the
CPU and peripheral functions of the microcomputer. Here, the term peripheral functions
means the functions of the I-O ports, timers, and A/D converter incorporated in the
microcomputer.
Pin name
Pin name
Example of P10 setting
Figure 2.6 Explanation of registers to control the output from P10 to P14
bit
bit
PDR1 bit0
Microcomputer
P17 P16 P15 P14 P13 P12 P11 P10
P17 P16 P15 P14 P13 P12 P11 P10
7
7
(a) LED is off.
6
6
5
5
When 1 is read
When 0 is read
Input setting (DDR1 bit0 = 0)
4
4
3
3
Pin P10
2
2
microcomputer)
1
1
High-level input
Low-level input
-
LED
Off
43
0
0
-
- For input setting, this register is used to check the input level
- For output setting, this register is used to set the output level
- This register is used to specify whether each port (pin) is
of each pin (value read from the bit corresponding to each
pin: 0 [low-level input] or 1 [high-level input]).
of each pin (value written to the bit corresponding to each
pin: 0 [low-level output] or 1 [high-level output]).
used for input or output (value written to the bit
corresponding to each pin: 0 [input] or 1 [output]).
When 1 is written
When 0 is written
Microcomputer
Output setting (DDR1 bit0 = 1)
(b) LED is on.
High-level output
Low-level output
Pin P10
LED
On

Related parts for CT-161-CD