UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 146

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
5.4 PORT 2
input ports, port 2 pins also operate as control signal input pins, such as external interrupt signal pins (see Table 5-5). All 8 pins
are Schmitt-triggered inputs to prevent misoperation due to noise.
106
Port 2 is an 8-bit input-only port. P22 to P27 incorporate a software programmable pull-up resistor. As well as operating as
* NMI input is acknowledged regardless of whether interrupts are enabled or disabled.
(a) Function as port pins
(b) Functions as control signal input pins
The pin level can always be read or tested regardless of the dual-function pin operation.
(i) NMI (Non-maskable Interrupt)
(ii) INTP0 to INTP5 (Interrupt From Peripherals)
P20
P21
P22
P23
P24
P25
P26
P27
The external non-maskable interrupt request input pin. Rising edge detection or falling edge detection can be
specified by means of the external interrupt mode register 0 (INTM0).
External interrupt request input pins. When the valid edge specified by the external interrupt mode registers 0,
1 (INTM0/INTM1) is detected an interrupt is generated (see CHAPTER 19 EDGE DETECTION FUNCTION).
In addition, pins INTP0 to INTP3 and INTP5 are also used as external trigger input pins with the various functions
shown
Port Name
• INTP0 ....... Timer/counter 1 capture trigger input pin
• INTP1 ....... Timer/counter 2 capture register (CR22) capture trigger input pin
• INTP2 ....... Timer/counter 2 external count clock input pin
• INTP3 ....... Timer/counter 0 capture trigger input pin
• INTP5 ....... A/D converter external trigger input pin
Input port/NMI input*
Input port/INTP0 input/CR11 capture trigger input/
Timer/counter 1 count clock/real-time output port trigger signal
Input port/INTP1 input/CR22 capture trigger input
Input port/INTP2 input/CI input
Input port/INTP3 input/CR02 capture trigger input/
Timer/count 0 count clock
Input port/INTP4 input/ASCK input/SCK1 input/output
Input port/INTP5 input/A/D converter external trigger input
Input port/SI0 input
below.
External count clock input pin
Real-time output port trigger input pin
Capture/compare register (CR21) capture trigger input pin
Timer/counter 0 external count clock input pin
Table 5-5 Port 2 Operating Modes
CHAPTER 5 PORT FUNCTIONS
Function

Related parts for UPD784026