
R01UH0336EJ0102 Rev.1.02
Page 52 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 2 Port Functions
(5)
PMSRn – Port Mode Set Reset Register n
This register provides an alternative method to write data to the PMn register.
The upper 16 bits specify whether the value PMn.PMn_m is set by a write
operation to PMn.PMn_m or is defined by the lower 16 bits of PMSRn (n = 0 to
5, 8).
Access
Readable and writable in 32-bit units.
Bits 31 to 16 are always read as 0000
H
.
Reading bits 15 to 0 returns the value of register PMn.
Address
Refer to Table 2-7, Port Group Configuration Registers.
Initial value
0000FFFF
H
A reset from any source will initialize the bits.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
PMSR
n_31
PMSR
n_30
PMSR
n_29
PMSR
n_28
PMSR
n_27
PMSR
n_26
PMSR
n_25
PMSR
n_24
PMSR
n_23
PMSR
n_22
PMSR
n_21
PMSR
n_20
PMSR
n_19
PMSR
n_18
PMSR
n_17
PMSR
n_16
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PMSR
n_15
PMSR
n_14
PMSR
n_13
PMSR
n_12
PMSR
n_11
PMSR
n_10
PMSR
n_9
PMSR
n_8
PMSR
n_7
PMSR
n_6
PMSR
n_5
PMSR
n_4
PMSR
n_3
PMSR
n_2
PMSR
n_1
PMSR
n_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-13
PMSRn Register Contents
Bit Position
Bit Name
Function
31 to 16
PMSRn_[31:16]
PMSRn_m specifies whether the value of the
corresponding lower bit PMSRn_m value is written to
PMn_m.
0: PMn_m is independent of PMSRn_m
1: PMn_m is PMSRn_m
Example:
If PMSRn.PMSRn_31 = 1, the value of bit
PMSRn.PMSRn_15 is written to bit PMn.PMn_15.
15 to 0
PMSRn_[15:0]
Specifies the PMn_m value if the corresponding upper bit
PMSRn_(m + 16) is 1.
0: PMn_m = 0
1: PMn_m = 1