CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
389
14.2.4 Port 3
Port 3 is an 8-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).
Either a normal output or N-ch open-drain out can be selected for P33 and P34.
When using P36 and P37 as the TI4 and TI5 pins, noise is eliminated by the digital noise eliminator.
Figure 14-19. Port 3 (P3)
After reset:
00H
R/W
Address: FFFFF006H
7
6
5
4
3
2
1
0
P3
P37
P36
P35
P34
P33
P32
P31
P30
P3n
Control of output data (In output mode) (n = 0 to 7)
0
Outputs 0
1
Outputs 1
Remark
In input mode:
When the P3 register is read, the pin levels at that time are read. Writing to P3 writes
the values to that register. This does not affect the input pins.
In output mode: When the P3 register is read, the P3 register’s values are read. Writing to P3 writes
the values to that register, and those values are immediately output.
Port 3 includes the following alternate functions.
Table 14-5. Port 3 Alternate Function Pins
Pin Name
Alternate Function
I/O
PULL
Note
Remark
P30
TI00
P31
TI01
P32
TI10/SI4
−
P33
TI11/SO4
P34
TO0/A13/SCK4
Selectable as N-ch open-drain output.
P35
TO1/A14
–
P36
TI4/TO4/A15
Port 3
P37
TI5/TO5
I/O
Yes
Digital noise elimination
Note
Software pull-up function
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...