Renesas M16C Series User Manual page 301

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group
2.13.1.6 I/O functions of built-in peripheral devices
Table 2.41 shows the relationship between ports and I/O functions of built-in peripheral devices.
Table 2.43:
Port and I/O function relationshipsPort and I/O function relationships
Port
P0 to P1
P2
P3
7
P6
P7
to P7
0
3
P7
to P8
4
1
P8
, P8
2
4
P8
3
P8
6
P8
7
P10
2.13.1.7 Examples of connection of non-used pins
Table 2.42 contains examples of connecting non-used pins. Make suitable changes and perform
sufficient evaluation in compliance with your application.
Table 2.44:
An example of unused pin connections
Pin name
Ports P0 to P10 (excluding P8
P8
, P8
)
5
6
Xout
P8
/NMI
5
AVcc
AVss, Vref, BYTE
USB D+, USB D-
ExtCap
P8
SOF
6/
P8
ATTACH
3/
Note 1: If setting these pins in output mode and opening them, ports are in input mode until switched into output mode by
use of software after reset. This the voltage levels of the pins becomes unstable and there can be instances where
the power source current increases while the ports are in input mode.
In view of an instance where the contents of the direction registers change due to a runaway generated by noise
or other causes, setting the contents of the direction register periodically by use of software increases program reli-
ability.
Note 2: When an external clock is input to the Xin pin.
Rev.1.00 Sep 24, 2003 Page 283 of 360
Key input interrupt function input pins
LED driver pins
Clock out pin
I/O pins for serial I/O communication
I/O pins for serial I/O communication / Timer A I/O pins
Timer A I/O pins
I/O pins for external interrupt
USB Attach/Detach pin
USB Start of Frame interrupt pin
A-D trigger input pin
A-D converter input pins
,
After setting to input mode, connect every pin to Vss or Vcc via a resistor; or after setting to output
3
mode, leave these pins open (Note 1)
Open (Note 2)
Connect to Vcc via a resistor
Connect to Vcc
Connect to Vss
Open
Connect to Vcc (when DC-DC converter is disabled)
After setting to output mode in normal operation, leave this pin open
After setting to output mode in normal operation, leave this pin open
Internal peripheral device I/O pins
Connection
Programmable I/O Ports

Advertisement

Table of Contents
loading

Table of Contents