Mitsubishi Electric M32R Series User Manual page 225

Mitsubishi 32-bit risc single-chip microcomputers
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 provided to prevent current from flowing into the port input pin. Because after reset
this register is set to disable input, it must be set to 1 before input can be processed.
During boot mode, all pins shared with serial I/O function are enabled for input, so that when
rewriting the flash memory via serial communication, you can set this register to 0 to prevent
current from flowing in from any pins other than serial I/O function.
The next page lists the pins that can be controlled by the Port Input Function Enable Register in
each mode.
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
9
10
11
Function
0 : Disables input (to prevent current from flowing in)
1 : Enables input
8-29
8.3 Input/Output Port Related Registers
<Address: H'0080 0745>
12
13
14
D15
PIEN0
<When reset : H'00>
R
W
0
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents