89
CHAPTER 4 I/O PORTS
●
Operation when a reset is performed
When the CPU is reset, the bits of the DDR3 register are initialized to "0", at which time the output
transistors become OFF (input port mode) and the pins become Hi-Z.
However, CPU resets do not initialize the PDR3 register. If a pin is used as an output port after the reset,
reinitialize the PDR3 register to contain new output data in the bit position corresponding to the pin and
then set the corresponding bit of the DDR3 register so that the pin will function as an output port.
●
Operation in stop mode
When the pin state setting bit of the standby control register (STBC: SPL) is set to "1" and when the stop
mode is entered, the pin becomes Hi-Z because the output transistor is turned OFF regardless of the value
existing on the DDR3 register in the bit position corresponding to the pin.
Table 4.3-4 summarizes the operating modes of the pins of port 3.
Note:
When the pull-up resistor is selected by using the pull-up setting register, the pin state will be "H" level
instead of Hi-Z in stop mode (SPL = 1). During a reset, however, the pull-up is invalid with the pin
remaining at Hi-Z.
Table 4.3-4 Operating Modes of Pins of Port 3
Pin name
Normal operation, sleep, stop
(SPL = 0)
Stop (SPL = 1)
At a reset
P30/UCK/SCK
to
P33/EC, P37/BZ/PPG
General-purpose I/O port may also
serve I/O for peripherals
Hi-Z
Hi-Z
P34/TO/INT10
to
P36/INT12
General-purpose I/O port may also
serve outputs from peripherals and
external interrupt inputs
Hi-Z
(External interrupt input)
SPL : Pin state setting bit of standby control register (STBC: SPL)
Hi-Z: High impedance
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......