Renesas R5S72643 Doll User Manual


  Open as PDF
of 2152
 
Section 32 General Purpose I/O Ports
Page 1768 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
32.2.37 Port K Port Register 0 (PKPR0: Available Only in the SH7264 Group)
PKPR0 is a 16-bit read-only register, in which the PK11PR to PK0PR bits correspond to the PK11
to PK0 pins, respectively. PKPR0 always returns the states of the pins regardless of the PKCR0 to
PKCR2 settings.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 PK11 PK10 PK9 PK8 PK7 PK6 PK5 PK4 PK3 PK2 PK1 PK0
RRRRRRRRRRRRRRRR
---
PK11
PR
PK10
PR
PK9
PR
PK8
PR
PK7
PR
PK6
PR
PK5
PR
PK4
PR
PK3
PR
PK2
PR
PK1
PR
PK0
PR
-
Bit:
Initial value:
R/W:
Bit Bit Name Initial Value R/W Description
15 to 12
All 0 R Reserved
These bits are always read as 0. The write
value should always be 0.
11 PK11PR Pin state R The pin state is returned. These bits cannot be
modified.
10 PK10PR Pin state R
9 PK9PR Pin state R
8 PK8PR Pin state R
7 PK7PR Pin state R
6 PK6PR Pin state R
5 PK5PR Pin state R
4 PK4PR Pin state R
3 PK3PR Pin state R
2 PK2PR Pin state R
1 PK1PR Pin state R
0 PK0PR Pin state R
32.3 Usage Notes
32.3.1 Notes on Output Function from PE0 to PE5
About each pair of ports, that is PE0 and PE1, PE2 and PE3, PE4 and PE5, when one port is set to
other than general purpose I/O function (PE0 to PE5) and I2C Bus Interface 3 function (SCL0 to
SCL2, SDA0 to SDA2), the other port can't be used for open-drain output. In that case, the other
port can be used for general purpose or other input function.
When one port is used for open-drain output, please set the other port to general purpose I/O
function.