Renesas M16C Series User Manual page 294

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

Advertisement

M30245 Group
(6) I/O functions of built-in peripheral devices
Table 2.17.1 shows relation between ports and I/O functions of built-in peripheral devices.
Table 2.17.1. Relation between ports and I/O functions of built-in peripheral devices
Port
P6
P7
P8
, P8
0
1
P8
, P8
, P8
www.DataSheet4U.com
2
3
P8
, P8
6
7
P9
0
P9
2
P9
3
P10
(7) Examples of working on non-used pins
Table 2.17.2 contains examples of working on non-used pins. There are shown here for mere ex-
amples. In practical use, make suitable changes and perform sufficient evaluation in compliance with
you application.
(a) Single-chip mode
Table 2.17.2. Examples of working on unused pins in single-chip mode
Pin name
Ports P0 to P10 (excluding P8
X
(Note 1)
OUT
NMI
UV
, AV
CC
CC
AV
, V
SS
REF
USB D+, USB D-
LPF
VbusDTCT
Note 1:
When an external clock is input to the X
Note 2:
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. Thus the voltage levels of the pins become unstable,
and there can be instances in which the power source current increases while the ports are in
input mode.
In view of an instance in which the contents of the direction registers change due to a runaway
generated by noise or other causes, setting the contents of the direction registers periodically by
use of software increases program reliability.
Note 3:
Output "L" if port P7
Port P7
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
I/O pins/Serial sound interface, I
Timer A0 to A3 I/O pins / I/O pins or I
LED drive output pins
Timer A4 I/O pins
Input pins for external interrupt
4
Sub-clock oscillation circuit I/O pins
Attach/Detach control pin for USB
________
SOF output pin for USB
A/D trigger input pin
A/D converter input pins / key-input interrupt function input pins
)
After setting for input mode, connect every pin to V
5
resistor; or after setting for output mode, leave these pins open.
(Note 1, Note 2, Note 3)
Open
Connect to V
Connect to V
, BYTE
Connect to V
Open
Open
Open
and P7
are set to output mode.
0
1
and P7
are N channel open drain output.
0
1
page 285 of 354
Internal peripheral device I/O pins
2
C and SPI communication pins for UART0 and UART1
2
C, SPI communication pins for UART2 and UART3 /
Connection
via a resistor (pull-up)
CC
CC
SS
pin.
IN
2. Programmable I/O Ports
or V
via a
SS
CC

Advertisement

Table of Contents
loading

Table of Contents