CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
380
14.2.2 Port 1
Port 1 is a 6-bit I/O port for which I/O settings can be controlled in 1-bit units.
A pull-up resistor can be connected in 1-bit units (software pull-up function).
Bits 0, 1, 2, 4, and 5 are selectable as normal outputs or N-ch open-drain outputs.
Figure 14-7. Port 1 (P1)
After reset:
00H
R/W
Address: FFFFF002H
7
6
5
4
3
2
1
0
P1
0
0
P15
P14
P13
P12
P11
P10
P1n
Control of output data (in output mode) (n = 0 to 5)
0
Outputs 0
1
Outputs 1
Remark
In input mode:
When the P1 register is read, the pin levels at that time are read. Writing to P1 writes
the values to that register. This does not affect the input pins.
In output mode: When the P1 register is read, the P1 register’s values are read. Writing to P1 writes
the values to that register, and those values are immediately output.
Port 1 includes the following alternate functions. SDA0 and SCL0 pins are available only in the
µ
PD70303xAY
and 70F303wAY.
Table 14-3. Port 1 Alternate Function Pins
Pin Name
Alternate Function
I/O
PULL
Note
Remark
Port 1
P10
SI0/SDA0
I/O
Yes
Selectable as N-ch open-drain output
P11
SO0
P12
SCK0/SCL0
P13
SI1/RXD0
−
P14
SO1/TXD0
Selectable as N-ch open-drain output
P15
SCK1/ASCK0
Note
Software pull-up function
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...