Port 4; Figure 16-16: Port 4 (P4) - NEC V850E/CA2 JUPITER Preliminary User's Manual

32-/16-bit romless microcontroller
Table of Contents

Advertisement

16.3.4 Port 4

Port 4 is a 6-bit input/output port in which input or output can be specified in 1-bit units. Each port bit
can be independently configured to port input, port output or peripheral function
This register can be read or written in 1-bit and 8-bit units.
7
P4
0
Bit Position
Bit Name
P4n
7 to 0
(n = 7 to 0)
Remark:
In Input Mode: When the P4 register is read, the pin levels at that time are read. Writing to
In Output Mode:When the P4 register is read, the values of P4 are read. Writing to the P4
Besides functioning as a port, in control mode, it also can operate as the real-time pulse unit (RPU)
input/output and external interrupt request input.
Notes: 1. If using peripheral functions, the direction setting for the respective port bit is not forced
automatically. Port bit direction has to be programmed according to the peripheral function
requirement by setting the port mode register.
2. The reset value of register P4 is 00H. Due to the input mode of the port after reset, the read
input value is determined by the port pins.
(1)
Operation in control mode
Port
P40
P41
P42
Port 4
P43
P44
P45
564
Chapter 16 Port Functions

Figure 16-16: Port 4 (P4)

6
5
4
0
P45
P44
Input/output port
the P4 register writes the values to that register. This does not affect the
input pins.
register writes the values to that register and those values are immediately
output.
Alternate Pin Name
TIG10/INTP10
TOG11/TIG11
TOG12/TIG12
TOG13/TIG13
TOG14/TIG14
TIG15/INTP15
Preliminary User's Manual U15839EE1V0UM00
3
2
1
P43
P42
P41
Function
Remarks
Real-time pulse unit (RPU) input or external
interrupt request input.
Note 1
.
0
Address
At Reset
P40
FFFFF406H 00H
Block Type
A
Note 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd703128Mpd703129

Table of Contents