Renesas M16C/60 Series Hardware Manual page 21

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Table 1.1.4 Pin Description (2)
Pin name
Signal name
P5
to P5
I/O port P5
0
7
WRL / WR,
WRH / BHE,
RD,
BCLK,
HLDA,
HOLD,
ALE,
RDY
P6
to P6
I/O port P6
0
7
P7
to P7
I/O port P7
0
7
P8
to P8
,
I/O port P8
0
4
P8
,
6
P8
7
P8
Input port P8
5
P9
to P9
I/O port P9
0
7
P10
to P10
I/O port P10
0
7
Rev.1.00
2003.05.30
page 7
I/O type
Input/output
This is an 8-bit I/O port equivalent to P0. In single-chip mode, P5
port outputs a divide-by-8 or divide-by-32 clock of X
same frequency as X
Output
Output WRL/WR, WRH/BHE, RD, BCLK, HLDA, and ALE signals.
Output
WRL/WR and WRH/BHE are switchable in a program. Note that WRL and
Output
WRH are always used as a pair, so as WR and BHE.
Output
WRL, WRH, and RD selected
Output
If the external data bus is a 16-bit width, data are written to even addresses
Input
when the WRL signal is low, and written to odd addresses when the
Output
WRH signal is low. Data are read out when the RD signal is low.
Input
WR, BHE, and RD selected
Data are written when the WR signal is low, or read out when the RD
signal is low. Odd addresses are accessed when the BHE signal is low.
Use this mode when the external data bus is an 8-bit width.
The microcomputer goes to a hold state when input to the HOLD pin is
held low. While in the hold state, HLDA outputs a low level. ALE is used
to latch the address. While the input level of the RDY pin is low, the bus
of the microcomputer goes to a wait state.
Input/output
This is an 8-bit I/O port equivalent to P0. Pins in this port also function as
UART0 and UART1 I/O pins as selected by program.
Input/output
This is an 8-bit I/O port equivalent to P0 (P7
output). This port can function as input/output pins for timers A0 to A3
when so selected in a program.
Furthermore, P7
as input/output pins for UART2, an input pin for timer B5, and output pins
for the three-phase motor control timer, respectively.
Input/output
P8
to P8
0
Input/output
When so selected in a program, P8
Input/output
input/output pins for timer A4 or output pins for the three-phase motor
control timer and INT interrupt input pins, respectively.
P8
and P8
6
pins for the sub clock oscillator circuit.
In that case, connect a crystal resonator between P8
P8
(X
7
CIN
Input
P8
is an input-only port shared with NMI. An NMI interrupt request is
5
5
generated when input on this pin changes state from high to low.
The NMI function cannot be disabled in a program.
A pull-up cannot be set for this pin.
Input/output
This is an 8-bit I/O port equivalent to P0 (P9
output). Pins in this port also function as input/output pins for SI/O3, input
pins for times B0 to B4, output pins for D-A converter, and input pins for
A-D converter or input/output pins for CAN0, or input pins for A-D trigger
as selected by program.
Input/output
This is an 8-bit I/O port equivalent to P0. Pins in this port also function as
input pins for A-D converter as selected by program.
Furthermore, P10
interrupt function.
Function
as selected by program.
CIN
to P7
, P7
, P7
to P7
0
3
1
2
, P8
and P8
are I/O ports with the same functions as P0.
4
6
7
, P8
0
, when so selected in a program, both can function as input/output
7
pin).
to P10
also function as input pins for the key input
4
7
Overview
in this
7
or a clock of the
IN
is an N channel open-drain
1
and P7
, P7
can also function
5
6
7
, and P8
to P8
can function as
1
2
4
(X
pin) and
6
COUT
is an N channel open-drain
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents