CHAPTER 4 PORT FUNCTIONS
(b) Port 3 mode register (PM3)
This is a 16-bit register that specifies the input mode/output mode.
This register can be read/written in 16-bit units only.
However, when the higher 8 bits and the lower 8 bits of the PM3 register are used as the PM3H register
and as the PM3L register, respectively, this register can be read/written in 8-bit or 1-bit units.
(i) V850ES/KF1
After Reset: FFFFH
15
R/W
Address: FFFFF426H (PM3, PM3L), FFFFF427 (PM3H)
14
1
13
1
12
1
11
1
10
1
9
8
PM3 (PM3HNote
)
1
PM39
PM38
(PM3L)
1
1
PM35
PM34
PM33
PM32
PM31
PM30
PM3n
Control of I/O mode (n = 0 to 5, 8, 9)
0
1
Output mode
Input mode
(ii) V850ES/KG1, V850ES/KJ1
After Reset: FFFFH
R/W
Address: FFFFF426H (PM3, PM3L), FFFFF427 (PM3H)
15
1
14
1
13
1
12
1
11
1
10
1
9
8
PM3 (PM3HNote
)
PM39
PM38
(PM3L)
PM37
PM36
PM35
PM34
PM33
PM32
PM31
PM30
PM3n
Control of I/O mode (n = 0 to 9)
0
1
Output mode
Input mode
Note When reading from or writing to bits 8 to 15 of the PM3 register in 8-bit or 1-bit units,
specify these bits as bits 0 to 7 of the PM3H register.
User’s Manual U15862EJ3V0UD
156