NEC UPD703116 User Manual page 39

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(4) P30 to P37 (Port 3) ... I/O
Port 3 is an 8-bit I/O that can be set to input or output in 1-bit units.
Besides functioning as an I/O port, in control mode, P30 to P37 operate as serial interface (UART0 to
UART2) I/O.
An operation mode of port or control mode can be selected for each bit and specified by the port 3 mode
control register (PMC3).
(a) Port mode
P30 to P37 can be set to input or output in 1-bit units using the port 3 mode register (PM3).
(b) Control mode
P30 to P37 can be set to port or control mode in 1-bit units using PMC3.
(i) TXD0 to TXD2 (Transmit data) ... Output
These pins output serial transmit data of UART0 to UART2.
(ii) RXD0 to RXD2 (Receive data) ... Input
These pins input serial receive data of UART0 to UART2.
(iii) ASCK1, ASCK2 (Asynchronous serial clock) ... I/O
These are UART1 and UART2 serial clock I/O pins.
(5) P40 to P47 (Port 4) ... I/O
Port 4 is an 8-bit I/O port in which input or output can be set in 1-bit units.
Besides functioning as an I/O port, in control mode, P40 to P47 operate as serial interface (CSI0, CSI1,
FCAN) I/O.
An operation mode of port or control mode can be selected for each bit and specified by the port 4 mode
control register (PMC4).
(a) Port mode
P40 to P47 can be set to input or output in 1-bit units using the port 4 mode register (PM4).
(b) Control mode
P40 to P47 can be set to port or control mode in 1-bit units using PMC4.
(i) SO0, SO1 (Serial output) ... Output
These pins output CSI0 and CSI1 serial transmit data.
(ii) SI0, SI1 (Serial input) ... Input
These pins input CSI0 and CSI1 serial receive data.
(iii) SCK0, SCK1 (Serial clock) ... I/O
These are CSI0 and CSI1 serial clock I/O pins.
(iv) CTXD (Transmit data for controller area network) ... Output
This pin outputs FCAN serial transmit data.
CHAPTER 2 PIN FUNCTIONS
User's Manual U14492EJ5V0UD
39

Advertisement

Table of Contents
loading

Table of Contents