MB95710M Series
MB95770M Series
Document Number: 002-09307 Rev. *D
Page 100 of 172
• Operation in stop mode and watch mode
• If the pin state setting bit in the standby control register (STBC:SPL) is set to “1” and the device transits to stop
mode or watch mode, the pin is compulsorily made to enter the high impedance state regardless of the DDR1 reg-
ister value. The input of that pin is locked to “L” level and blocked in order to prevent leaks due to input open. How-
ever, if the interrupt input of P10/UI0/TO0 and P14/UCK0/EC0/TI0 is enabled by the external interrupt control
register ch. 0 (EIC00) of the external interrupt circuit and the interrupt pin selection circuit control register (WICR)
of the interrupt pin selection circuit, the input is enabled and is not blocked.
• If the pin state setting bit is “0”, the state of the port I/O or that of the peripheral function I/O remains unchanged
and the output level is maintained.
• Operation of the pull-up register
Setting the bit in the PUL1 register to “1” makes the pull-up resistor be internally connected to the pin. When the pin
output is “L” level, the pull-up resistor is disconnected regardless of the value of the PUL1 register.
19.3 Port 2
Port 2 is a general-purpose I/O port. This section focuses on its functions as a general-purpose I/O port. For details of
peripheral functions, refer to their respective chapters in “New 8FX MB95710M/770M Series Hardware Manual”.
19.3.1 Port 2 configuration
Port 2 is made up of the following elements.
• General-purpose I/O pins/peripheral function I/O pins
• Port 2 data register (PDR2)
• Port 2 direction register (DDR2)
• Port 2 pull-up register (PUL2)
19.3.2 Block diagrams of port 2
• P20/PPG00/CMP0_N pin
This pin has the following peripheral functions:
• 8/16-bit PPG ch. 0 output pin (PPG00)
• Comparator ch. 0 inverting analog input (negative input) pin (CMP0_N)
• P21/PPG01/CMP0_P pin
This pin has the following peripheral functions:
• 8/16-bit PPG ch. 0 output pin (PPG01)
• Comparator ch. 0 non-inverting analog input (positive input) pin (CMP0_P)