upd78f0124hgba1-8et-a Renesas Electronics Corporation., upd78f0124hgba1-8et-a Datasheet - Page 132

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
<R>
<R>
(5) Port mode register 0 (PM0)
132
Cautions 1. When the internal oscillation clock is selected as the clock to be supplied to the CPU, the
Remarks 1. f
This register sets port 0 input/output in 1-bit units.
When using the P01/TO00/TI010 pin for timer output, set PM01 and the output latch of P01 to 0.
Set PM01 to 1 when using the P01/TO00/TI010 pin as a timer input pin. The output latch of P01 at this time may
be 0 or 1.
PM0 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM0 to FFH.
2. TI000, TI010: 16-bit timer/event counter 00 input pin
3. Figures in parentheses are for operation with f
2. Always set data to PRM00 after stopping the timer operation.
3. If the valid edge of the TI000 pin is to be set for the count clock, do not set the clear & start
4. If the TI000 or TI010 pin is high level immediately after system reset, the rising edge is
5. When P01 is used as the TI010 pin valid edge input pin, it cannot be used as the timer output
X
clock of the internal oscillator is divided and supplied as the count clock. If the count clock
is the internal oscillation clock, the operation of 16-bit timer/event counter 00 is not
guaranteed.
selected and supplied to the CPU, the operation of 16-bit timer/event counter 00 is not
guaranteed, either, because the internal oscillation clock is supplied as the sampling clock to
eliminate noise.
mode using the valid edge of the TI000 pin and the capture trigger.
immediately detected after the rising edge or both the rising and falling edges are set as the
valid edge(s) of the TI000 pin or TI010 pin to enable the operation of 16-bit timer counter 00
(TM00). Care is therefore required when pulling up the TI000 or TI010 pin. However, when re-
enabling operation after the operation has been stopped, the rising edge is not detected if the
TI000 or TI010 pin is high level.
(TO00), and when used as TO00, it cannot be used as the TI010 pin valid edge input pin.
: High-speed system clock oscillation frequency
Address: FF20H
Symbol
PM0
Figure 6-9. Format of Port Mode Register 0 (PM0)
When an external clock is used and when the internal oscillation clock is
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
PM0n
7
1
0
1
Output mode (output buffer on)
Input mode (output buffer off)
User’s Manual U16962EJ3V0UD
6
1
After reset: FFH
P0n pin I/O mode selection (n = 0 to 3)
5
1
4
1
X
PM03
= 10 MHz.
R/W
3
PM02
2
PM01
1
PM00
0

Related parts for upd78f0124hgba1-8et-a