English
Language : 

PD64A_15 Datasheet, PDF (20/66 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS FOR INFRARED REMOTE CONTROL TRANSMISSION
µPD64A, 65
3.4 Control Register 1 (P4)
Control register 1 consists of 8 bits. The contents that can be controlled are as shown below.
After reset, the register becomes 0010 0110B.
Table 3-6. Control Register 1 (P4)
Bit
Name
b7
—
Set
0
value
1
After reset
Fixed
to “0”
0
b6
—
Fixed
to “0”
0
b5
b4
b3
b2
b1
KI
S0/S1
S2
S1/LED KI/O
Pull-down Pull-down STOP Release Mode Mode
OFF OFF Disabled S1
IN
ON
ON Enabled LED OUT
1
0
0
1
1
b0
S0
Mode
OFF
IN
0
b0: Specifies the input mode of the S0 port. “0” = OFF mode (high impedance); “1” = IN (input mode).
b1: Specifies the I/O mode of the KI/O port. “0” = IN (input mode); “1” = OUT (output mode).
b2: Specifies the I/O mode of the S1/LED port. “0” = S1 (input mode); “1” = LED (output mode).
b3: Specifies the use of the STOP mode release for the S2 port (with/without pull-down resistor). “0” = Disabled
(pull-down unavailable); “1” = Enabled (pull-down available).
b4: Specifies the availability of the pull-down resistor for the S0/S1 port input mode. “0” = OFF (unavailable);
“1” = ON (available).
b5: Specifies the availability of the pull-down resistor for the KI port. “0” = OFF (unavailable);
“1” = ON (available).
Remark In output mode or in OFF mode, all the pull-down resistors are automatically disconnected.
18
Data Sheet U14380EJ3V0DS00