M-V850E-IA4 Renesas Electronics America, M-V850E-IA4 Datasheet - Page 193

no-image

M-V850E-IA4

Manufacturer Part Number
M-V850E-IA4
Description
KIT EVAL V850E IA4 UPD70F3186
Manufacturer
Renesas Electronics America
Datasheets

Specifications of M-V850E-IA4

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Table 6-5. Function of Capture/Compare Register in Each Mode and How to Write Compare Register
Interval timer
External event counter
External trigger pulse output
One-shot pulse output
PWM output
Free-running timer
Pulse width measurement
(a) Function as compare register
(b) Function as capture register (TP0CCR1 and TP2CCR1 registers only)
The following table shows the functions of the capture/compare register in each mode, and how to write data to
the compare register.
Notes 1. TMP0 and TMP2 only
Remark
The TPnCCR1 register can be rewritten even when the TPnCTL0.TPnCE bit = 1.
The set value of the TPnCCR1 register is transferred to the CCR1 buffer register. When the value of the
16-bit counter matches the value of the CCR1 buffer register, a compare match interrupt request signal
(INTTPnCC1) is generated. If TOPm1 pin output is enabled at this time, the output of the TOPm1 pin is
inverted (the TOP11 pin is not provided).
The compare register is not cleared by the TPnCTL0.TPnCE bit = 0.
Remark
When the TPkCCR1 register is used as a capture register in the free-running timer mode, the count value
of the 16-bit counter is stored in the TPkCCR1 register if the valid edge of the capture trigger input pin
(TIPk1 pin) is detected. In the pulse width measurement mode, the count value of the 16-bit counter is
stored in the TPkCCR1 register and the 16-bit counter is cleared (0000H) if the valid edge of the capture
trigger input pin (TIPk1 pin) is detected.
Even if the capture operation and reading the TPkCCR1 register conflict, the correct value of the TPkCCR1
register can be read.
The capture register is cleared by the TPkCTL0.TPkCE bit = 0.
Remark
2. TMP0 and TMP2 only (also TMP3 in software trigger mode in the V850E/IA4)
3. TMP0 and TMP2 only (also TMP3 in the V850E/IA4)
4. Writing to the TPnCCR1 register is the trigger.
Operation Mode
Note 3
For anytime write and batch write, see 6.6 (2) Anytime write and batch write.
V850E/IA3: m = 0, 2
V850E/IA4: m = 0, 2, 3
k = 0, 2
Note 2
Note 1
Note 1
Note 2
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
Compare register
Compare register
Compare register
Compare register
Compare register
Capture/compare register
Capture register
User’s Manual U16543EJ4V0UD
Capture/Compare Register
Anytime write
Anytime write
Batch write
Anytime write
Batch write
Anytime write
None
How to Write Compare Register
Note 4
Note 4
191

Related parts for M-V850E-IA4