
R01UH0336EJ0102 Rev.1.02
Page 49 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 2 Port Functions
(2)
PMCSRn – Port Mode Control Set Reset Register n
This register provides an alternative method to write data to the PMCn register.
The upper 16 bits specify whether the value PMCn.PMCn_m is set by a write
operation to PMCn.PMCn_m or is defined by the lower 16 bits of PMCSRn
(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 PMCn.
Address
Refer to Table 2-7, Port Group Configuration Registers.
Initial value
0000 0000
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
PMCS
Rn_31
PMCS
Rn_30
PMCS
Rn_29
PMCS
Rn_28
PMCS
Rn_27
PMCS
Rn_26
PMCS
Rn_25
PMCS
Rn_24
PMCS
Rn_23
PMCS
Rn_22
PMCS
Rn_21
PMCS
Rn_20
PMCS
Rn_19
PMCS
Rn_18
PMCS
Rn_17
PMCS
Rn_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
PMCS
Rn_15
PMCS
Rn_14
PMCS
Rn_13
PMCS
Rn_12
PMCS
Rn_11
PMCS
Rn_10
PMCS
Rn_9
PMCS
Rn_8
PMCS
Rn_7
PMCS
Rn_6
PMCS
Rn_5
PMCS
Rn_4
PMCS
Rn_3
PMCS
Rn_2
PMCS
Rn_1
PMCS
Rn_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-10
PMCSRn Register Contents
Bit Position
Bit Name
Function
31 to 16
PMCSRn_[31:16]
PMCSRn_m specifies whether the value of the
corresponding lower bit PMCSRn_m value is written to
PMCn_m.
0: PMCn_m is independent of PMCSRn_m
1: PMCn_m is PMCSRn_m
Example:
If PMCSRn.PMCSRn_31 = 1, the value of bit
PMCSRn.PMCSRn_15 is written to bit PMCn.PMCn_15.
15 to 0
PMCSRn_[15:0]
Specifies the PMCn_m value if the corresponding upper
bit PMCSRn_(m + 16) is 1.
0: PMCn_m = 0
1: PMCn_m = 1
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...