Renesas M32R/ECU Series User Manual page 176

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

8
8.2 Selecting Pin Functions
Each input/output port serves dual functions sharing the pin with other internal peripheral I/O or extended external
bus signal line (or triple functions sharing the pin with two or more peripheral I/O functions). Pin functions are
selected depending on the current operation mode or by setting the input/output port operation mode registers.
P0–P4 and P224–P227, when the CPU is set to operate in processor mode, all are switched to serve as signal
pins for external access. The CPU operation mode is determined depending on how the MOD0 and MOD1 pins
are set (see the table below).
Table 8.2.1 CPU Operation Modes and P0–P4 and P224–P227 Pin Functions
MOD0
MOD1
VSS
VSS
VSS
VCCE
VCCE
VSS
VCCE
VCCE
Note 1: P41–P43 serve as dedicated external bus interface signal pins.
Note: • VCCE and VSS are connected to 5 or 3.3 V and GND, respectively.
Each input/output port has their functions switched between input/output port pins and internal peripheral I/O pins
by setting the respective port operation mode registers. If any internal peripheral I/O has two or more pin functions,
use the register provided for that peripheral I/O to select the desired pin function.
Note that FP and MOD1 pin settings during internal flash memory programming do not affect the pin functions.
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
Operation Mode
Single-chip mode
External extension mode
Processor mode (FP pin = VSS)
Reserved (use inhibited)
8.2 Selecting Pin Functions
P0–P4 and P224–P227 Pin Function
Input/output port pin
Input/output port pin or extended external signal pin (Note 1)
Extended external signal pin
32180 Group User's Manual (Rev.1.0)
8-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents