Mitsubishi 32172 User Manual page 230

M32r series
Table of Contents

Advertisement

8
Port Input Function Enable Register (PIEN)
D8
D
Bit Name
8-14
No functions assigned
15
PIEN0
(Port input function enable bit)
This register is used to prevent electric current from flowing into the port input pin. Because the
ports are disabled against input after reset, they need to be enabled for input by setting this
register bit to 1.
During boot mode, the pins shared with serial I/O function are enabled for input. Therefore, when
rewriting the flash memory via serial communication, they can be protected against the current
flowing in from pins other than the serial I/O function by setting this register bit to 0.
The pins that can be controlled by the port input function enable bit in each mode are listed below.
Table 8.3.1 Pins Controllable by Port Input Function Enable Bit
Mode Name
Single chip
External extended
Microprocessor
Boot
(Single chip)
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
9
10
11
Controllable Pin
P00-P07, P10-P17, P20-P27
P30-P37, P41-P47, P61-P63
P70-P77, P82-P87, P94-P96
P100-P107, P110-P117,
P150, P153, P174, P175
P220, P225
P61-P63, P70-P77, P82-P87
P94-P96, P100-P107, P110-P117
P150, P153, P174, P175, P220
P00-P07, P10-P17, P20-P27
P30-P37, P41-P47, P61-P63
P67, P70-P77,P94-P96
P100-P107, P110-P117,
P140-P147, P150-P157
P160-P167, P172-P173, P180-P187
P190-P197, P210-P217, P220
P222-P225
8-30
8.3 Input/Output Port Related Registers
12
13
Function
0: Disables input (to prevent current
from flowing in)
1: Enables input
Noncontrollable Pin
P64, P93, P97
P124-P127
P130-P137, P221
FP, MOD0, MOD1, RESET
P00-P07, P10-P17
P20-P27, P30-P37
P41-P47, P64,
P124-P127, P130-P137
P221, P225,
FP,MOD0,MOD1,RESET
P64, P82-P87, P93,P97,
P124-P127, P130-P137
P174, P175, P221, FP
MOD0, MOD1, RESET
<Address: H'0080 0745>
14
D15
PIEN0
<When reset: H'00>
R
W
0
P93,P97
Rev.1.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

32173

Table of Contents