|
32192 Datasheet, PDF (241/1044 Pages) Renesas Technology Corp – MCU | |||
|
◁ |
8
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
8.3 Input/Output Port Related Registers
(3) PIEN0 (Port input enable) bit (Bit 15)
This bit is used to prevent shoot-through current from flowing into the port input pins.
Because the input/output ports are disabled against input upon exiting 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 (uncontrolled pin) is selected for any
port while disabled against input by using the Port Operation Mode Register, the port may operate unex-
pectedly due to the "L" 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 interface functions are enabled for input and can therefore be
protected against shoot-through current flowing in from the pins other than serial interface 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 Port Input Enable Bit
Mode Name
Single-chip
External extension
Microprocessor
Boot
(single-chip)
Controllable Pins
P00âP07, P10âP17, P20âP27
P30âP37, P41âP47, P61âP63
P70âP77, P82âP87, P93âP97
P100âP107, P110âP117, P124âP127
P130âP137, P150, P153, P174, P175
P220, P224, P225
P61âP63, P70âP77, P82âP87
P93âP97, P100âP107, P110âP117
P126, P127, P130âP137
P150, P153, P174, P175, P220
P00âP07, P10âP17, P20âP27
P30âP37, P41âP47, P61âP63
P70âP77, P93âP97, P100âP107
P110âP117, P124âP127, P130âP137
P150, P153, P220, P224, P225
Uncontrolled Pins
P221, FP, SBI#, MOD0, MOD1, MOD2, RESET#
P00âP07, P10âP17
P20âP27, P30âP37
P41âP47, P124, P125, P221, P224, P225
FP, SBI#, MOD0, MOD1, MOD2, RESET#
P82âP87, P174, P175, P221
FP, SBI#, MOD0, MOD1, MOD2, RESET#
32192/32195/32196 Group Hardware Manual
Rev.1.10 REJ09B0123-0110 Apr.06.07
8-31
|
▷ |