m38039g6hsp Renesas Electronics Corporation., m38039g6hsp Datasheet - Page 30

no-image

m38039g6hsp

Manufacturer Part Number
m38039g6hsp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet
3803 Group (Spec.H QzROM version)
Rev.1.10
REJ03B0166-0110
(4) Pulse Width Measurement Mode
• Mode selection
This mode can be selected by setting “11” to the timer X
operating mode bits (bits 1 and 0) and the timer Y operating
mode bits (bits 5 and 4) of the timer XY mode register (address
0023
• Explanation of operation
When the CNTR
active edge switch bit (bit 6) of the timer XY mode register
(address 0023
falling edge of CNTR
edge of input (“L” term). When it is “0”, the timer counts during
the term of one rising edge input until the next falling edge input
(“H” term).
• Precautions
Set the double-function port of CNTR
P5
The count operation can be stopped by setting “1” to the timer X
count stop bit (bit 3) and the timer Y count stop bit (bit 7) of the
timer XY mode register (address 0023
bit is set to “1” each time the timer underflows.
• Precautions when switching count source
When switching the count source by the timer 12, X and Y count
source selection bits, the value of timer count is altered in
inconsiderable amount owing to generating of thin pulses on the
count input signals.
Therefore, select the timer count source before setting the value
to the prescaler and the timer.
4
/P5
16
).
5
to input in this mode.
16
Nov 14, 2005
) is “1”, the timer counts during the term of one
0
active edge switch bit (bit 2) or the CNTR
0
/CNTR
1
pin input until the next rising
Page 30 of 91
16
0
). The interrupt request
/CNTR
1
pin and port
1
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.

Related parts for m38039g6hsp