CHAPTER 14 PORT FUNCTION
333
14.2.2 Port 1
Port 1 is a 6-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).
Bits 0, 1, 2, 4, and 5 are selectable as normal outputs or N-ch open drain outputs.
Figure 14-6. Format of 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 (during output mode)
0
Output “0”
1
Output “1”
Remark
During input mode
: When the P1 register is read, the pin levels at that time are read. Writing to P1
writes the current pin levels to that register. This does not affect the input pins.
During output mode : When the P1 register is read, the P1 register’s values are read. Writing to P1
writes values to that register, and those values are immediately output.
Port 1 includes the following alternate-function pins. The SDA and SCL pins are valid only for the
µ
PD703015Y and 70F3017Y.
Pin Name
Alternate Function
I/O
PULL
Note
Remark
Port 1
P10
SI0/SDA
I/O
Yes
Selectable as N-ch open-drain output
P11
SO0
P12
SCK0/SCL
P13
SI1/RXD0
−
P14
SO1/TXD0
Selectable as N-ch open-drain output
P15
SCK1/ASCK0
Note
Software pull-up function
Содержание V850/SA1 mPD703015
Страница 2: ...2 MEMO ...
Страница 100: ...100 MEMO ...
Страница 144: ...144 MEMO ...
Страница 200: ...200 MEMO ...
Страница 328: ...328 MEMO ...
Страница 356: ...356 MEMO ...
Страница 358: ...358 MEMO ...
Страница 368: ...368 MEMO ...
Страница 374: ...374 MEMO ...
Страница 382: ...382 MEMO ...