UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 60

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
2.2 PIN FUNCTIONS
2.2.1 Normal Operating Mode
(1) P00 to P07 (Port 0) ... 3-state input/output
(2) P10 to P17 (Port 1) ... 3-state input/output
20
P10
P11
P12
P13
P14
P15 to P17
Pin Name
Port 0 is an 8-bit input/output port with an output latch, and has direct transistor drive capability. Input/output can be specified
bit-wise by means of the port 0 mode register (PM0). Each pin incorporates a software programmable pull-up resistor.
P00 to P03 and P04 to P07 can output the port 0 buffer register (P0L, P0H) contents at any time interval as 4-bit or 8-bit
real-time output port. The real-time output port control register (RTPC) is used to select whether this port is used as a normal
output port or a real-time output port.
When RESET is input, port 0 is set as an input port (output high-impedance state), and the output latch contents are
undefined.
Port 1 is an 8-bit input/output port with an output latch. Input/output can be specified bit-wise by means of the port 1 mode
register (PM1). Each pin incorporates a software programmable pull-up resistor. This port has direct LED drive capability.
Pins P10 and P11 are also made to function as PWM output pins by means of the PWM control register (PWMC), and pins
P12 to P14 can also be made to function as serial input/output pins by means of the port 1 mode control register (PMC1).
When RESET is input, port 1 is set as an input port (output high-impedance state), and the output latch contents are
undefined.
Input/output port
Port Mode
Control Signal Input/Output Mode
ASCK2/SCK2 input/output
Table 2-1 Port 1 Operating Modes
TxD2/SO2 output
RxD2/SI2 input
PWM0 output
PWM1 output
CHAPTER 2 PIN FUNCTIONS
Set (1) EN0 bit of PWMC
Set (1) EN1 bit of PWMC
Set (1) PMC12 bit of PMC1
Set (1) PMC13 bit of PMC1
Set (1) PMC14 bit of PMC1
Operation to Operate as Control Pin

Related parts for UPD784026