Fujitsu MB90460 Series Hardware Manual page 191

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 9 I/O PORT
Port operation after a reset
• When the CPU is reset, the DDR0 and RDR registers are initialized to "0". As a result, the output buffer
is turned off (I/O mode changes to input), the pull-up resistor is cut, and the pins are placed in a high
impedance state.
• The PDR0 register is not initialized when the CPU is reset. To use the port in output mode, therefore,
output mode must be specified in the DDR0 register after the output data is set in the PDR0 register.
Port operation in stop or time-base timer mode
If the pin state specification bit (SPL) in the low-power consumption mode control register (LPMCR) is
already "1" when the port is shifted to stop or time-base timer mode, the port pins are placed in a high-
impedance state. This is because the output buffer is turned off forcibly regardless of the value in the
DDR0 register. Note that the inputs are fixed at a certain level to prevent leakage due to an open circuit.
Note also that when a pull-up resistor is selected, the port pins are held at the high level and not placed in a
high-impedance state even when the SPL bit is set to "1". Table 9.3-4 lists the states of the port 0 pins.
Table 9.3-4 States of Port 0 Pins
Pin
Normal operation
P00/OPT0 to
General-purpose
P07/PWO0
I/O port
SPL : Pin state specification bit of low-power consumption mode control register (LPMCR)
Hi-Z: High impedance
172
Stop mode or time-base
Sleep mode
timer mode (SPL = 0)
General-
General-purpose I/O
purpose
port
I/O port
Stop mode or time-base
Stop mode or time-base
timer mode
(SPL = 1, RDR = 0)
Input shut down/output
Input shut down/
in Hi-Z
held at H level
timer mode
(SPL = 1, RDR = 1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents