919
Chapter 20
Port Functions
User’s Manual U16580EE3V1UD00
(2)
Control registers
(a) Port register 6 (P6)
The P6 register is an 8-bit register that controls reading the pin levels and writing the output levels
of port pins P60 to P67.
Writing to the P6 register is only possible in a specific sequence, where a write access to the
command register (PRCMD) must be made before a write access to the P6 register is accepted. A
read operation in between the two write operations is allowed, i.e. read-modify-write is possible on
register P6. For details refer to
.
This register can be read or written in 8-bit or 1-bit units.
Reset input causes an undefined register content.
Figure 20-41:
Port Register 6 (P6)
(b) Port mode register 6 (PM6)
The PM6 register is an 8-bit register that specifies the input or output mode.
Writing to the PM6 register is only possible in a specific sequence, where a write access to the
command register (PRCMD) must be made before a write access to the PM6 register is accepted.
A read operation in between the two write operations is allowed, i.e. read-modify-write is possible
on register PM6. For details refer to
This register can be read or written in 8-bit or 1-bit units.
Reset input sets this register to FFH.
Figure 20-42:
Port Mode Register 6 (PM6)
Remark:
n = 0 to 7
After reset:
Undefined
R/W
Address:
FFFFF40CH
7
6
5
4
3
2
1
0
P6
P67
P66
P65
P64
P63
P62
P61
P60
P6n
Input/Output Data Control of Pin P6n
0
Input mode: Low level is input
Output mode: Low level is output
1
Input mode: High level is input
Output mode: High level is output
After reset:
FFH
R/W
Address:
FFFFF42CH
7
6
5
4
3
2
1
0
PM6
PM67
PM66
PM65
PM64
PM63
PM62
PM61
PM60
PM6n
Input/Output Mode Control of Pin P6n (in Port Mode)
0
Output mode
1
Input mode
Содержание V850E/PH2
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00...
Страница 16: ...16 User s Manual U16580EE3V1UD00...
Страница 28: ...28 User s Manual U16580EE3V1UD00...
Страница 32: ...32 User s Manual U16580EE3V1UD00...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00...
Страница 1053: ......