
R01UH0336EJ0102 Rev.1.02
Page 56 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 2 Port Functions
(2)
PPRn – Port Pin Read Register
This register reflects the actual level of pin Pn_m, the value of the Pn.Pn_m bit
or the level of an alternative output function. The value which is read depends
on various control settings as described in Table 2-6, PPRn_m Read Values (n
= 0 to 5, 8).
Access
This register is read-only and only readable in 16-bit units.
Address
Refer to Table 2-7, Port Group Configuration Registers.
Initial value
0000
H
A reset from any source will initialize the bits.
(3)
Pn – Port Register
This register holds the data Pn.Pn_m to be output via the related port Pn_m in
output port mode (PMCn.PMCn_m = 0 and PMn.PMn_m = 0) (n = 0 to 5, 8).
Access
Readable and writable in 16-bit units.
Address
Refer to Table 2-7, Port Group Configuration Registers.
Initial value
0000
H
A reset from any source will initialize the bits.
Note
The bits of this register can be manipulated by different means; refer to Section
2.2.3, Pin Data Input/Output.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PPR
n_15
PPR
n_14
PPR
n_13
PPR
n_12
PPR
n_11
PPR
n_10
PPR
n_9
PPR
n_8
PPR
n_7
PPR
n_6
PPR
n_5
PPR
n_4
PPR
n_3
PPR
n_2
PPR
n_1
PPR
n_0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Table 2-18
PPRn Register Contents
Bit Position
Bit Name
Function
15 to 0
PPRn_[15:0]
Pin Pn_m, Pn.Pn_m value or alternative function output.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Pn_15 Pn_14 Pn_13 Pn_12 Pn_11 Pn_10 Pn_9 Pn_8 Pn_7 Pn_6 Pn_5 Pn_4 Pn_3 Pn_2 Pn_1 Pn_0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 2-19
Pn Register Contents
Bit Position
Bit Name
Function
15 to 0
Pn_[15:0]
Sets the output level of pin m (m = 0 to 15).
0: Outputs low level
1: Outputs high level