Chapter 14 Port Function; Port Configuration; Port Pin Function; Port 0 - NEC V850/SA1 mPD703015 Preliminary User's Manual

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

Advertisement

14.1 Port Configuration

V850/SA1 incorporates 85 I/O ports in total from port 0 to 12 (13 out of 85 are input-only port).

14.2 Port Pin Function

14.2.1 Port 0

Port 0 is an 8-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).
00H
After reset:
7
P0
P07
P0n
0
1
Remark
During input mode
During output mode : When the P0 register is read, the P0 register's values are read. Writing to P0
Port 0 includes the following alternate-function pins.
Pin Name
Port 0
P00
P01
P02
P03
P04
P05
P06
P07
Note Software pull-up function
CHAPTER 14
Figure 14-1. Format of Port 0 (P0)
R/W
Address: FFFFF000H
6
5
P06
P05
Control of Output Data (during output mode)
Output "0"
Output "1"
: When the P0 register is read, the pin levels at that time are read. Writing to P0
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
NMI
INTP0
INTP1
INTP2
INTP3
INTP4/ADTRG
INTP5/RTPTRG
INTP6
PORT FUNCTION
4
3
P04
P03
P02
Note
I/O
PULL
I/O
Yes
Analog noise elimination
Digital noise elimination
2
1
0
P01
P00
Remark
329

Advertisement

Table of Contents
loading

Table of Contents