EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #196 background imageLoading...
Page #196 background image
8
8-23
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
32180 Group Users Manual (Rev.1.0)
8.3 Input/Output Port Related Registers
(3) PIEN0 (Port input enable) bit (Bit 15)
This bit is used to prevent current from flowing into the port input pins.
Because the input/output ports are disabled against input after reset, if any ports need to be used in input
mode they must be enabled for input by setting this bit to "1".
When disabled against input, the input/output ports are in a state equivalent to a situation where the pin has
a low-level input applied. Consequently, if a peripheral input function is selected for any port (uncontrolled
pin) while disabled against input by using the Port Operation Mode Register, the port may operate unexpect-
edly due to the low-level input on it.
The following shows the procedure for selecting a peripheral input function.
(1) Enable the port for input when its pin level is valid (high or low)
(2) Select a function using the port operation mode bit
During boot mode, the pins shared with serial I/O functions are enabled for input and can therefore be
protected against current flowing in from the pins other than serial I/O functions during flash programming by
clearing PIEN0.
The table below lists the pins that can be controlled by the PIEN0 bit in each operation mode.
Table 8.3.2 Pins Controllable by PIEN0 Bit
Mode Name Controllable Pins Uncontrolled Pins
P00P07, P10P17, P20P27 P221, P223,
P30P37, P41P47, P61P63 FP, MOD0, MOD1, SBI#, RESET#
Single-chip P65P67, P70P77, P82P87
P93P97, P100P107, P110P117
P124P127, P130P137, P140P147
P150P157, P160P167, P172P177
P180P187, P190P197, P200P203
P210P217, P220P222, P224P227
P61P63, P65P67, P70P77 P00P07, P10P17
P82P87, P93P97, P100P107 P20P27, P30P37
External extension P110P117, P124P127, P130P137 P41P47, P221, P223P227
Microprocessor P140P147, P150P157, P160P167 FP, MOD0, MOD1, SBI#, RESET#
P172P177, P180P187, P190P197
P200P203, P210P217, P220
P222
P00P07, P10P17, P20P27 P65, P66, P82P87, P101
P30P37, P41P47, P61P63 P135P136, P174P177, P200P203
Boot P67, P70P77, P93P97 P221, P223,
(single-chip) P100, P102P107, P110P117, P124P127 FP, MOD0, MOD1, SBI#, RESET#
P130P134, P137, P140P147, P150P157
P160P167, P172P173, P180P187
P190P197, P210P217, P220
P222, P224P227

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals