hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 114

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 2 CPU
To avoid this problem, store a copy of the PCR3 data in a work area in memory. Perform the bit
manipulation on the data in the work area, then write this data to PCR3.
[A: Prior to executing BCLR]
Input/output Input
Pin state
PCR3
PDR3
RAM0
[B: BCLR instruction executed]
[C: After executing BCLR]
Input/output Input
Pin state
PCR3
PDR3
RAM0
Table 2.12 lists the pairs of registers that share identical addresses. Table 2.13 lists the registers
that contain write-only bits.
Rev. 7.00 Mar 10, 2005 page 72 of 652
REJ09B0042-0700
MOV. B
MOV. B
MOV. B
BCLR
MOV. B
MOV. B
#0
#3F,
R0L,
R0L,
@RAM0, R0L
R0L,
P3
Low level High level Low level Low level Low level Low level Low level Low level
0
1
0
P3
Low level High level Low level Low level Low level Low level Low level High level
0
1
0
7
7
,
R0L
@RAM0
@PCR3
@RAM0
@PCR3
P3
Input
0
0
0
P3
Input
0
0
0
6
6
P3
Output
1
0
1
P3
Output
1
0
1
The PCR3 value (H'3F) is written to a work area in memory
(RAM0) as well as to PCR3.
The BCLR instruction is executed designating the PCR3
work area (RAM0).
The work area (RAM0) value is written to PCR3.
5
5
P3
Output
1
0
1
P3
Output
1
0
1
4
4
P3
Output
1
0
1
P3
Output
1
0
1
3
3
P3
Output
1
0
1
P3
Output
1
0
1
2
2
P3
Output
1
0
1
P3
Output
1
0
1
1
1
P3
Output
1
0
1
P3
Output
0
0
0
0
0

Related parts for hd64338023s