NEC V854 UPD703006 User Manual page 43

32/16-bit single-chip microcontroller hardware
Table of Contents

Advertisement

(b) Control mode
P110 to P117 function as input and output pins for timer 2 when the function is enabled by the port 11
mode control register (PMC11).
(i)
TO21 to TO24 (Timer Output) ... output
These are pulse signals output pins for timer 2.
(ii)
TI21 to TI24 (Timer Input) ... input
This pin inputs an external counter clock to timer 2.
(iii) INTP21 to INTP24 (Interrupt Request from Peripherals) ... input
These pins are the external interrupt request input pins.
(12) P120 to P127 (Port 12) ... 3-state I/O
Port 12 is an 8-bit I/O port that can be set in the input or output mode in 1-bit units. In addition to the function
as a port, the pins constituting port 12 are used as serial interface I/O in the control mode.
(a) Port mode
P120 to P127 can be set in the input or output mode, in 1-bit units, by the port 12 mode register (PM12).
(b) Control mode
P120 to P127 function as input and output of serial interface control signal and output of clock signal by
setting of port 12 mode control register (PMC12). However, P126 pin functions only as a port.
(i)
SO2, SO3 (Serial Output 2, 3) ... output
These are serial transmit data output pins for the CSI.
(ii)
SI2, SI3 (Serial Input 2, 3) ... input
These are serial receive data input pins for the CSI.
(iii) SCK2, SCK3 (Serial Clock 2, 3) ... 3-state I/O
These are the serial clock I/O pins of CSI.
(iv) CLO (Clock Output (Divided)) ... output
This is an output pin for the system clock (with frequency division function).
(13) P130 to P137 (Port 13) ... 3-state I/O
Port 13 is an 8-bit I/O port that can be set in the input or output mode in 1-bit units. In addition to the function
as a port, it is used as real-time output port in the control mode.
(a) Port mode
P130 to P137 can be set in the input or output mode, in 1-bit units, by the port 13 mode register (PM13).
(b) Control mode
P130 to P137 function as real-time output port by setting of port 13 mode control register (PMC13).
(i)
RTP0 to RTP7 (Real-time Port 0 to 7) ... output
These pins are real-time output port.
CHAPTER 2 PIN FUNCTIONS
User's Manual U11969EJ3V0UM00
43

Advertisement

Table of Contents
loading

Table of Contents