96
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15798EJ2V0UD
4.2.4 Port 3
Port 3 is a 6-bit I/O port with an output latch. The P30 to P35 pins can be set to input mode/output mode in 1-
bit units using port mode register 3 (PM3).
The P30 and P31 pins are 5 V N-ch open-drain. These pins can drive LEDs directly. In the
µ
PD780344Y, 780354Y
Subseries, these pins have alternate functions as serial interface data I/O and clock I/O.
An on-chip pull-up resistor can be used for the P32 to P35 pins in 1-bit units using pull-up resistor option register
3 (PU3). These pins can also be used for timer I/O.
RESET input sets port 3 to input mode.
Table 4-3 lists the port 3 pin function of each product and Figures 4-8 to 4-10 show block diagrams of port 3.
Table 4-3. Port 3 Function of Each Product
Product Name
µ
PD780343, 780344,
µ
PD78F0354
µ
PD780343Y, 780344Y,
µ
PD78F0354Y
Pin Name
780353, 780354
780353Y, 780354Y
P30, P31
•
N-ch open-drain I/O
•
Can directly drive LED.
No alternate function
Function alternately as data I/O of serial
interface and clock I/O
Pull-up resistor can be
No pull-up resistor
connected in 1-bit units
by mask option.
P32 to P35
•
CMOS I/O
•
Function alternately as timer I/O
•
Pull-up resistor can be connected in 1-bit units by PU3.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...