upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 125

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2)
Remarks: 1. Input mode:
Symbol
Symbol
P3H
R/W
R/W
P3L
Registers
(a) Port register 3 (P3)
Port register 3 (P3) is a 16-bit register used to control pin level read and output level write.
This register can be read and written in16-bit, 8-bit and 1-bit units.
However, when using the higher 8 bits of the P3 register as the P3H register and the lower 8 bits
as the P3L register, P3 becomes two 8-bit registers for which I/O can be manipulated in 8-bit or
1-bit units.
2. An undefined value (pin input level) is read for the value after reset when P3 is read in
R/W
R/W
P37
15
0
7
Output mode:
the input mode. When P3 is read in the output mode, 00H (output latch value) is output.
P3n
0
1
R/W
R/W
P36
14
0
6
Outputs 0
Outputs 1
R/W
R/W
Figure 4-20: Port Register 3 (P3) Format
P35
13
0
5
User’s Manual U16702EE3V2UD00
When port 3 (P3) is read, the pin levels at this time are read. During
write, the data written to P3 is written. This does not affect the input
pins.
When port 3 (P3) is read, the value of P3 is read. During write, the
value is written to P3 and the written value is immediately output.
Output data control (in output mode) (n = 0 to 9)
Chapter 4 Port Functions
R/W
R/W
P34
12
0
4
R/W
R/W
P33
11
0
3
R/W
R/W
P32
10
0
2
R/W
R/W
P31
9
0
1
R/W
R/W
P38
P30
8
0
FFFFF407H undefined
FFFFF406H undefined
Address
Address
After reset
After reset
125

Related parts for upd70f3402