hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 124

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 2 CPU
[B: BSET instruction executed]
BSET
[C: After executing BSET]
MOV. B
MOV. B
Input/output
Pin state
PCR3
PDR3
RAM0
2. Bit Manipulation in a Register Containing a Write-only Bit
Example 3: BCLR instruction executed designating port 3 control register PCR3
As in the examples above, P3
high-level signal at P3
signals. In this example, the BCLR instruction is used to change pin P3
assumed that a high-level signal will be input to this input pin.
[A: Prior to executing BCLR]
Input/output
Pin state
PCR3
PDR3
Rev. 6.00 Aug 04, 2006 page 88 of 680
REJ09B0145-0600
#0
@RAM0,
R0L,
P3
Input
Low
level
0
1
1
P3
Input
Low
level
0
1
,
7
7
6
. The remaining pins, P3
@RAM0
@PDR3
R0L
P3
Input
High
level
0
0
0
P3
Input
High
level
0
0
7
and P3
6
6
6
P3
Output
Low
level
1
0
0
P3
Output
Low
level
1
0
are input pins, with a low-level signal input at P3
The BSET instruction is executed designating the PDR3
work area (RAM0).
The work area (RAM0) value is written to PDR3.
5
5
5
P3
Output
Low
level
1
0
0
P3
Output
Low
level
1
0
to P3
4
4
0
, are output pins that output low-level
P3
Output
Low
level
1
0
0
P3
Output
Low
level
1
0
3
3
P3
Output
Low
level
1
0
0
P3
Output
Low
level
1
0
0
2
2
to an input port. It is
P3
Output
Low
level
1
0
0
P3
Output
Low
level
1
0
1
1
7
P3
Output
High
level
1
1
1
P3
Output
Low
level
1
0
and a
0
0

Related parts for hd64338342hw