8
8-3
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
32180 Group User’s Manual (Rev.1.0)
8.2 Selecting Pin Functions
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
Operation Mode
P0–P4 and P224–P227 Pin Function
VSS
VSS
Single-chip mode
Input/output port pin
VSS
VCCE
External extension mode
Input/output port pin or extended external signal pin (Note 1)
VCCE
VSS
Processor mode (FP pin = VSS)
Extended external signal pin
VCCE
VCCE
Reserved (use inhibited)
–
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.
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...