h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 114
h8s-2161b
Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.H8S-2161B.pdf
(845 pages)
- Current page: 114 of 845
- Download datasheet (5Mb)
Section 2 CPU
Prior to executing BCLR:
Input/output
Pin state
DDR
DR
BCLR instruction executed:
After executing BCLR:
Input/output
Pin state
DDR
DR
Operation:
1. When the BCLR instruction is executed, first the CPU reads P4DDR.
2. The CPU clears bit 0 of the read data to 0, changing data to H'FE.
3. The CPU writes H'FE to DDR, completing execution of BCLR.
As a result of the BCLR instruction, bit 0 in DDR is set to 0, and P40 becomes an input pin.
However, bits 7 and 6 of DDR are modified to 1, therefore P47 and P46 become output pins.
Rev. 3.00 Mar 21, 2006 page 60 of 788
REJ09B0300-0300
BCLR
Since P4DDR is a write-only register, so the CPU reads H'FF. In this example P4DDR has a
value of H'3F, but the value read by the CPU is H'FF.
#0,
P47
Input
Low
level
0
1
P47
Output
Low
level
1
1
@P4DDR
P46
Input
High
level
0
0
P46
Output
High
level
1
0
The BCLR instruction is executed for DDR in port 4.
P45
Output
Low
level
1
0
P45
Output
Low
level
1
0
P44
Output
Low
level
1
0
P44
Output
Low
level
1
0
P43
Output
Low
level
1
0
P43
Output
Low
level
1
0
P42
Output
Low
level
1
0
P42
Output
Low
level
1
0
P41
Output
Low
level
1
0
P41
Output
Low
level
1
0
P40
Output
Low
level
1
0
P40
Input
High
level
0
0
Related parts for h8s-2161b
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
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.