CHAPTER 2 PIN FUNCTIONS
User’s Manual U13850EJ4V0UM
59
2.3 Description of Pin Functions
(1) P00 to P07 (Port 0)
∙∙∙
3-state I/O
Port 0 is an 8-bit I/O port in which input and output can be set in 1-bit units for input or output.
P00 to P07 can function as I/O port pins and can also function as NMI inputs, external interrupt request inputs,
external triggers for the A/D converter, and external triggers for the real-time output port. Port/control mode can
be selected for each bit, and the pin’s valid edge is specified by the EGP0 and EGN0 registers.
(a) Port mode
P00 to P07 can be set in 1-bit units as input or output pins according to the contents of the port 0 mode
register (PM0).
(b) Control mode
(i)
NMI (Non-maskable Interrupt Request)
∙∙∙
input
This is a non-maskable interrupt request signal input pin.
(ii) INTP0 to INTP6 (Interrupt Request from Peripherals)
∙∙∙
input
These are external interrupt request input pins.
(iii) ADTRG (AD Trigger Input)
∙∙∙
input
This is the A/D converter’s external trigger input pin. This pin is controlled with A/D converter mode
register 1 (ADM1).
(iv) RTPTRG (Real-Time Port Trigger Input)
∙∙∙
input
This is the real-time output port’s external trigger input pin. This pin is controlled with the real-time
output port control register (RTPC).