
R01UH0336EJ0102 Rev.1.02
Page 50 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 2 Port Functions
(3)
PIPCn – Port IP Control Register
This register specifies whether the I/O direction of pin Pn_m is controlled by
the port mode register PMn.PMn_m or by an alternative function.
If pin Pn_m is operated in alternative mode (PMCn.PMCn_m = 1) and the
alternative function requires to directly control the I/O direction of Pn_m,
PIPCn.PIPCn_m must be set to 1 as well. This hands over I/O control to the
alternative function and overrules the PMn.PMn_m setting (n = 0 to 5).
Access
Readable and writable in 16-bit units.
Address
Refer to Table 2-7, Port Group Configuration Registers
Initial value
0000
H
A reset from any source will initialize the bits.
Caution 1.
The following pins control buffer I/O from peripheral I/O. Set PIPCn to 1 if any
of these pins is to be used.
• CSIGnSC, URTHnSC
(serial clock input/output pins)
As long as the direction (input or output) is set correctly in the PMn
register, i.e. so that it corresponds to the setting for master or slave
mode of the serial interface (PMn_m = 0 for master mode and PMn_m =
1 for slave mode), setting the corresponding bit in the PIPCn register to 0
does not create a problem.
• TAUB0O10 to TAUB0O15, TSG20O1 to TSG20O6
(target pins for Hi-Z control)
When a pin is to be used as a timer output pin for the timer option
function (TAPA) and Hi-Z control is not to be applied, setting the
corresponding bit in the PIPCn register to 0 (PMn_m = 0) does not
create a problem as long as the pin is set as an output pin in the PMn
register.
Caution 2. To use the data consistency checking function of the CSIG module, set the bit
in the PIPCn register that is allocated to the CSIGnSO pin to 0 (operation of
data consistency checking is not guaranteed if the bit is set to 1).
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PIPC
n_15
PIPC
n_14
PIPC
n_13
PIPC
n_12
PIPC
n_11
PIPC
n_10
PIPC
n_9
PIPC
n_8
PIPC
n_7
PIPC
n_6
PIPC
n_5
PIPC
n_4
PIPC
n_3
PIPC
n_2
PIPC
n_1
PIPC
n_0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 2-11
PIPCn Register Contents
Bit Position
Bit Name
Function
15 to 0
PIPCn_[15:0]
Specifies the I/O control mode.
0: I/O mode is selected by PMn.PMn_m (software I/O
control).
1: I/O mode is selected by the peripheral function (direct
I/O control).
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...