HD6412240 RENESAS [Renesas Technology Corp], HD6412240 Datasheet - Page 112

no-image

HD6412240

Manufacturer Part Number
HD6412240
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family / H8S/2200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412240FA13
Manufacturer:
HITACHI
Quantity:
8 831
Part Number:
HD6412240FA13V
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6412240FA20
Manufacturer:
HITACHI
Quantity:
12 388
Part Number:
HD6412240FA20V
Manufacturer:
LT
Quantity:
3 220
Part Number:
HD6412240FA20V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6412240TE13
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6412240TE13
Quantity:
33
Part Number:
HD6412240TE13V
Manufacturer:
RENESAS
Quantity:
15 090
Part Number:
HD6412240TE13V
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6412240TE13V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Section 2 CPU
To switch P14 from being an output pin to being an input pin, we must change the value of
P1DDR bit 4 from 1 to 0 (H'F0
BCLR
Since RAM0 can be read and written, when the bit manipulation instruction is executed, only bit 4
in RAM0 is cleared. Then we write this RAM0 value to P1DDR.
MOV.B
MOV.B
If this procedure is used to write registers that include write-only bits, programs can be written
without depending on the type of the instructions used.
Rev.3.00 Mar. 26, 2007 Page 70 of 772
REJ09B0355-0300
I/O
P1DDR
RAM0
I/O
P1DDR
RAM0
#4,
@RAM0, R0L
R0L,
Output
Output
P17
P17
1
1
1
1
@RAM0
@P1DDR
Output
Output
P16
P16
1
1
1
1
H'E0). Here, were execute a BCLR instruction for RAM0.
Output
Output
P15
P15
1
1
1
1
Output
Input
P14
P14
1
0
0
0
Input
Input
P13
P13
0
0
0
0
Input
Input
P12
P12
0
0
0
0
Input
Input
P11
P11
0
0
0
0
Input
Input
P10
P10
0
0
0
0

Related parts for HD6412240