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

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
B Appendix (Method To Write/Read Values in Registers)
© Fujitsu
B.1
The sample program codes presented in this document include such descriptions
as ”IO_XXX.byte” and ”IO_YYY.bit”. These are the convenient formats of description
defined in the I-O header file. You can use these description formats after setting up Softune
Workbench, the development environment provided by the Starter Kit.
An actual C-language program contains the descriptions of instructions to write values to
various registers to specify microcomputer operation. The above description formats enable
you to write values to registers in C language. For example, assume the instruction to write
0xff to the port 1 data register (PDR1), which is allocated at address 0x000001. The
instruction is described in C language as follows:
It is not immediately obvious what kind of processing the above description specifies. If you
use one of the description formats defined in the I-O header file, you can write the same
instruction as follows:
You can use this description because the following operation is defined in a separate file:
Substituting a value for variable "IO_PDR1.byte" = Writing the value to PDR1 register at
address 0x000001
It is now immediately clear that the description specifies the processing to write 0xff to the
PDR1 register. The I-O header file contains the definitions of these description formats for
the registers of the microcomputer built in the Starter Kit.
*((volatile char *)0x000001) = 0xFF;
IO_PDR1.byte = 0xff;
About the Method To Write/Read Values in Registers
-
97
-

Related parts for CT-161-CD