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

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

Advertisement

14.2.2 Port 1

Port 1 is a 6-bit I/O port for which I/O settings can be controlled bitwise.
A pull-up resistance can be connected bitwise (software pull-up function).
Bits 0, 1, 2, 4, and 5 are selectable as normal outputs or N-ch open drain outputs.
00H
After reset:
7
P1
0
P1n
0
1
Remark
During input mode
During output mode : When the P1 register is read, the P1 register's values are read. Writing to P1
Port 1 includes the following alternate-function pins. The SDA and SCL pins are valid only for the
µ PD703015Y and 70F3017Y.
Pin Name
Port 1
P10
P11
P12
P13
P14
P15
Note Software pull-up function
CHAPTER 14
Figure 14-6. Format of Port 1 (P1)
R/W
Address: FFFFF002H
6
5
0
P15
Control of Output Data (during output mode)
Output "0"
Output "1"
: When the P1 register is read, the pin levels at that time are read. Writing to P1
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.
Alternate Function
SI0/SDA
SO0
SCK0/SCL
SI1/RXD0
SO1/TXD0
SCK1/ASCK0
PORT FUNCTION
4
3
P14
P13
P12
Note
I/O
PULL
I/O
Yes
Selectable as N-ch open-drain output
Selectable as N-ch open-drain output
2
1
0
P11
P10
Remark
333

Advertisement

Table of Contents
loading

Table of Contents