hd66100 Renesas Electronics Corporation., hd66100 Datasheet - Page 71
hd66100
Manufacturer Part Number
hd66100
Description
H8/3867 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.HD66100.pdf
(495 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
hd66100F
Manufacturer:
HIT
Quantity:
1 810
Company:
Part Number:
hd66100F
Manufacturer:
SW
Quantity:
1 815
Part Number:
hd66100F
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
- Current page: 71 of 495
- Download datasheet (2Mb)
Example 2: BSET instruction executed designating port 3
P3
signal at P3
example, the BSET instruction is used to change pin P3
[A: Prior to executing BSET]
Input/output Input
Pin state
PCR3
PDR3
[B: BSET instruction executed]
[C: After executing BSET]
Input/output Input
Pin state
PCR3
PDR3
[D: Explanation of how BSET operates]
When the BSET instruction is executed, first the CPU reads port 3.
Since P3
P3
value of H'80, but the value read by the CPU is H'40.
Next, the CPU sets bit 0 of the read data to 1, changing the PDR3 data to H'41. Finally, the CPU
writes this value (H'41) to PDR3, completing execution of BSET.
As a result of this operation, bit 0 in PDR3 becomes 1, and P3
However, bits 7 and 6 of PDR3 end up with different values.
To avoid this problem, store a copy of the PDR3 data in a work area in memory. Perform the bit
manipulation on the data in the work area, then write this data to PDR3.
56
BSET
7
5
and P3
to P3
7
0
and P3
are output pins, so the CPU reads the value in PDR3. In this example PDR3 has a
6
6
#0
. The remaining pins, P3
are designated as input pins, with a low-level signal input at P3
P3
Low level High level Low level Low level Low level Low level Low level Low level
0
1
P3
Low level High level Low level Low level Low level Low level Low level High level
0
0
7
7
6
,
are input pins, the CPU reads the pin states (low-level and high-level input).
@PDR3
P3
Input
0
0
P3
Input
0
1
6
6
P3
Output
1
0
P3
Output
1
0
The BSET instruction is executed designating port 3.
5
5
5
to P3
0
, are output pins and output low-level signals. In this
P3
Output
1
0
P3
Output
1
0
4
4
0
P3
Output
1
0
P3
Output
1
0
to high-level output.
3
3
0
outputs a high-level signal.
P3
Output
1
0
P3
Output
1
0
2
2
7
and a high-level
P3
Output
1
0
P3
Output
1
0
1
1
P3
Output
1
0
P3
Output
1
1
0
0
Related parts for hd66100
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Hd/sd Multi Format Video Encoder With 3ch Dac
Manufacturer:
AKM Semiconductor, Inc.
Datasheet:
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
FLASH PROGRAMMER FOR RENESAS MICROCONTROLLERS
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet: