Port 6 - NEC V850/SA1 mPD703015 Preliminary User's Manual

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Control registers
(a) Port 4 mode register and port 5 mode register (PM4 and PM5)
Read and write in 8-bit units and bitwise are enabled.
Figure 14-18. Format of Port 4 Mode Register, Port 5 Mode Register (PM4, PM5)
H
FF
After reset:
7
PMn
PMn7
(n = 4, 5)
PMnx
0
1

14.2.6 Port 6

Port 6 is a 6-bit I/O port for which I/O settings can be controlled bitwise.
00H
After reset:
7
P6
0
P6n
0
1
Remark
During input mode
During output mode : When the P6 register is read, the P6 register's values are read. Writing to P6
Port 6 includes the following alternate-function pins.
CHAPTER 14
R/W
Address: FFFFF028H, FFFFF02AH
6
5
PMn6
PMn5
Output mode
Input mode
Figure 14-19. Format of Port 6 (P6)
R/W
Address: FFFFF00CH
6
5
0
P65
Control of Output Data (during output mode)
Output "0"
Output "1"
: When the P6 register is read, the pin levels at that time are read. Writing to P6
writes the current pin levels to that register. This does not affect the input pins.
writes values to that register, and those values are immediately output.
PORT FUNCTION
4
3
PMn4
PMn3
PMn2
Control of I/O Mode
4
3
P64
P63
P62
2
1
0
PMn1
PMn0
2
1
0
P61
P60
343

Advertisement

Table of Contents
loading

Table of Contents