CHAPTER 2 PIN FUNCTIONS
User’s Manual U12697EJ3V0UM
47
2.2 Pin Function Description
(1) P00 to P05 (Port 0)
These pins constitute a 6-bit I/O port. In addition to I/O port pins, they also function as external interrupt request
inputs. The following operation modes can be specified in 1-bit unit.
(a) Port mode
These pins function as a 6-bit I/O port. Input or output can be specified in 1-bit units by means of the port
0 mode register. Regardless of whether the input mode or output mode is specified, pull-up resistors can
be connected in 1-bit units using pull-up resistor option register 0.
(b) Control mode
These pins function as external interrupt request inputs.
(i)
INTP0 to INTP5
INTP0 to INTP5 are external interrupt request input pins for which the valid edge can be selected (rising
edge, falling edge, or both rising and falling edges). The valid edge can be specified by the external
interrupt rising edge enable register and the external interrupt falling edge enable register. INTP2 also
becomes the external trigger signal input pin of the real-time output port via valid edge input.
(ii)
NMI
This is the external non-maskable interrupt request input pin. The valid edge can be specified by the
external interrupt rising edge enable register and the external interrupt falling edge enable register.