HD64336901G Renesas Technology, HD64336901G Datasheet - Page 69
HD64336901G
Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
1.HD64336901G.pdf
(408 pages)
- Current page: 69 of 408
- Download datasheet (3Mb)
[Prior to executing BSET]
[BSET instruction executed]
[After executing BSET]
[Description on operation]
1. When the BSET instruction is executed, first the CPU reads port 5. Since P57 and P56 are
2. Next, the CPU sets bit 0 of the read data to 1, changing the PDR5 data to H'41.
3. Finally, the CPU writes H'41 to PDR5, completing execution of BSET.
As a result of the BSET instruction, bit 0 in PDR5 becomes 1, and P50 outputs a high-level signal.
However, bits 7 and 6 of PDR5 end up with different values. To prevent this problem, store a copy
of the PDR5 data in a work area in memory. Perform the bit manipulation on the data in the work
area, then write this data to PDR5.
Input/output
Pin state
PCR5
PDR5
Input/output
Pin state
PCR5
PDR5
BSET
input pins, the CPU reads the pin states (low-level and high-level input).
P55 to P50 are output pins, so the CPU reads the value in PDR5. In this example PDR5 has a
value of H'80, but the value read by the CPU is H'40.
#0,
P57
Input
Low
level
0
1
P57
Input
Low
level
0
0
@PDR5
P56
Input
High
level
0
0
P56
Input
High
level
0
1
P55
Output
Low
level
1
0
P55
Output
Low
level
1
0
The BSET instruction is executed for port 5.
Output
1
0
Output
1
0
P54
Low
level
P54
Low
level
P53
Output
Low
level
1
0
P53
Output
Low
level
1
0
Rev. 1.00, 11/03, page 41 of 376
P52
Output
Low
level
1
0
P52
Output
Low
level
1
0
P51
Output
Low
level
1
0
P51
Output
Low
level
1
0
P50
Output
Low
level
1
0
P50
Output
High
level
1
1
Related parts for HD64336901G
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
(HD64 Series) Hitachi Single-Chip Microcomputer
Manufacturer:
Hitachi Semiconductor
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
Manufacturer:
Renesas Technology / Hitachi Semiconductor
Datasheet:
Part Number:
Description:
Renesas MCU
Manufacturer:
Renesas Technology / Hitachi Semiconductor
Datasheet:
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Silicon P Channel Power MOS FET High Speed Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon P Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon P Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon P Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon N Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon N Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon N Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon N Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet:
Part Number:
Description:
Silicon N Channel Power MOS FET Power Switching
Manufacturer:
Renesas Technology
Datasheet: