upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 166

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
4.3.13 Port DL
Port DL is a 14-bit port for which I/O settings can be controlled in 1-bit units.
(1)
(2)
Remarks: 1. Input mode:
166
Symbol
Symbol
PDLL
PDLH
R/W
R/W
Port DL functions
• 14-bit I/O port
• Port input/output specifiable in 1-bit units by port mode register DL (PMDL)
• Port mode/control mode specifiable in 1-bit units by port mode control register DL (PMCDL)
See Table 4-8, “Port Type,” on page 170 for alternate functions.
Registers
(a) Port register DL (PDL)
Port register DL (PDL) is a 16-bit register used to control pin level read and output level write.
This register can be read and written in 8-bit and 1-bit units.
However, when using the higher 8 bits of the PDL register as the PDLH register and the lower
8 bits as the PDLL register, PDL becomes two 8-bit registers for which I/O can be manipulated in
8-bit or 1-bit units.
PDL7
R/W
2. An undefined value (pin input level) is read for the value after reset when PDL is read in
R/W
15
7
0
PDLn
Output mode:
the input mode. When PDL is read in the output mode, 00H (output latch value) is out-
put.
0
1
PDL6
R/W
R/W
14
6
0
Outputs 0
Outputs 1
Figure 4-66: Port Register DL (PDL) Format
PDL13
PDL5
R/W
R/W
13
5
When port DL (PDL) is read, the pin levels at this time are read. During
write, the data written to PDL is written. This does not affect the input
pins.
When port DL (PDL) is read, the value of PDL is read. During write, the
value is written to PDL and the written value is immediately output.
Output data control (in output mode) (n = 0 to 13)
User’s Manual U16702EE3V2UD00
PDL12
Chapter 4 Port Functions
PDL4
R/W
R/W
12
4
PDL11
PDL3
R/W
R/W
11
3
PDL10
PDL2
R/W
R/W
10
2
PDL1
PDL9
R/W
R/W
1
9
PDL8
PDL0
R/W
R/W
8
0
FFFFF005H undefined
FFFFF004H undefined
Address
Address
After reset
After reset

Related parts for upd70f3402