English
Language : 

HD404344R Datasheet, PDF (46/102 Pages) Renesas Technology Corp – 4-bit microcomputer has an A/D converter
HD404344R Series/HD404394 Series
D Port
The D port consists of six input/output pins each addressed by one bit.
The D ports can be set and reset by SED/RED and SEDD/REDD instructions. Output data is stored in the
port data register (PDR) for each pin. Also, all D ports can tested by the TD/TDD instructions.
The on/off status of the output buffers is controlled by the D-port data control registers (DCD0, DCD1:
$02C and $02D), which are mapped to memory addresses (figure 19).
Pins D0 and D4 are multiplexed with peripheral function pins INT0/EVNB, and STOPC. Setting of the
peripheral functions for these pins is executed by bits 3 and 0 (PMRB3, PMRB0) of port mode register B
(PMRB: $024) (figure 20).
Data control register
DCD0, DCD1
DCR0 to DCR3
(DCD0, DCD1: $02C, $02D)
(DCR0 to DCR3: $030 to $033)
Bit
Initial value
Read/Write
Bit name
3
0
W
DCD03
2
0
W
DCD02
1
0
W
DCD01
to
DCD11
0
0
W
DCD00
to
DCD10
DCR03 DCR02 DCR01 DCR00
to
to
to
to
DCR33 DCR32 DCR31 DCR30
Bits 0 to 3 CMOS Buffer Control
0
CMOS buffer off
(high impedance)
1
CMOS buffer on
Correspondence between ports and DCR bits
Register Bit 3 Bit 2 Bit 1 Bit 0
DCD0
DCD1
DCR0
DCR1
DCR2
DCR3
D3
D2
D1
D0
—
—
D5
D4
R03
R02
R01
R00
R13
R12
R11
R10
R23
R22
R21
R20
R33
R32
R31
R30*
Note: * Available for the HD404344R series and HD4074344, but not available for the HD404394 series.
Figure 19 Data Control Register (DCR)
44