556
Chapter 16
Port Functions
Preliminary User’s Manual U15839EE1V0UM00
16.3 Pin Functions of Each Port
16.3.1 Port
1
Port 1 is a 8-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
Note 1
.
This register can be read or written in 1-bit and 8-bit units.
Figure 16-7:
Port 1 (P1)
Remark:
In Input Mode:
When the P1 register is read, the pin levels at that time are read. Writing to
the P1 register writes the values to that register. This does not affect the
input pins.
In Output Mode: When the P1 register is read, the values of P1 are read. Writing to the P1
register writes the values to that register and those values are immediately
output.
Besides functioning as a port, in control mode, it also can operate as the serial interface (UART1,
FCAN1, FCAN2, FCAN3
Note 3
) input/output.
(1)
Operation in control mode
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 P1 is 00H. Due to the input mode of the port after reset, the read
input value is determined by the port pins.
3. CAN module 3 is available in the derivatives µPD703129 (A) and µPD703129 (A1) only.
7
6
5
4
3
2
1
0
Address
At Reset
P1
P17
P16
P15
P14
P13
P12
P11
P10
FFFFF400H 00H
Note 2
Bit Position
Bit Name
Function
7 to 0
P1n
(n = 7 to 0)
Input/output port
Port
Alternate Pin Name
Remarks
Block Type
Port 1
P10
CRXD1
Serial interface (UART1, FCAN1, FCAN2,
FCAN3
Note 2
) input/output.
A
P11
CTXD1
P12
CRXD2
P13
CTXD2
P14
CRXD3
Note 2
P15
CTXD3
Note 2
P16
RXD1
P17
TXD1
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......