47
Pin Functions
Chapter 2
Preliminary User’s Manual U17566EE1V2UM00
(2)
PPRn - Port pin read register
The PPRn register reflects the actual pin value, independent of the control
registers set-up.
For port groups with up to eight ports, this is an 8-bit register. For port groups
with up to 16 ports, this is a 16-bit register.
Access
This register is read-only, in 8-bit and 1-bit units.
16-bit registers can also be read in 16-bit units.
Address
see
“Port Group Configuration“ on page 56
Initial Value
00
H
or 0000
H
. This register is cleared by any reset.
7
6
5
4
3
2
1
0
PPRn7 PPRn6 PPRn5 PPRn4 PPRn3 PPRn2 PPRn1 PPRn0
R
R
R
R
R
R
R
R
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PPRn15 PPRn14 PPRn13 PPRn12 PPRn11 PPRn10 PPRn9 PPRn8 PPRn7 PPRn6 PPRn5 PPRn4 PPRn3 PPRn2 PPRn1 PPRn0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Table 2-11
PPRn register contents
Bit position
Bit name
Function
7 to 0
or
15 to 0
PPRn[7:0]
or
PPRn[15:0]
Actual pin value
electronic components distributor