upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 141

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
4.3.8 Port 7
Port 7 is a 16-bit port for which I/O settings can be controlled in 1-bit units.
(1)
(2)
Caution:
Remarks: 1. Input mode:
Symbol
Symbol
P7H
R/W
R/W
P7L
Port 7 functions
• 16-bit I/O port
• Port input/output specifiable in 1-bit units by port mode register 7 (PM7)
See Table 4-8, “Port Type,” on page 170 for alternate functions.
Registers
(a) Port register 7H, port register 7L (P7H, P7L)
Port register 7H and port register 7L (P7H, P7L) are 8-bit registers used to control pin level read
and output level write. These registers can be read and written in 8-bit or 1-bit units.
16-bit access is not possible.
P715
Do not read the P7H and P7L registers during A/D conversion.
2. An undefined value (pin input level) is read for the value after reset when P7H and P7L
R/W
R/W
P77
7
7
Output mode:
are read in the input mode. When P7H and P7L are read in the output mode, 00H
(output latch value) is output.
Figure 4-40: Port Register 7H, Port Register 7L (P7H, P7L)Format
P7n
0
1
P714
R/W
R/W
P76
6
6
Outputs 0
Outputs 1
P713
R/W
R/W
P75
5
5
User’s Manual U16702EE3V2UD00
When port 7H (P7H) and port 7L (P7L) are read, the pin levels at this
are read. During write, the data written to P7H and P7L are written.
This does not affect the input pins.
When port 7H (P7H) and port 7L (P7L) are read, the values of P7H and
P7L are read. During write, the values are written to P7H and P7L and
the written values are immediately output.
Output data control (in output mode) (n = 0 to 15)
Chapter 4 Port Functions
P712
R/W
R/W
P74
4
4
P711
R/W
R/W
P73
3
3
P710
R/W
R/W
P72
2
2
R/W
R/W
P79
P71
1
1
R/W
R/W
P78
P70
0
0
FFFFF40EH undefined
FFFFF40FH undefined
Address
Address
After reset
After reset
141

Related parts for upd70f3402