English
Language : 

R8C14 Datasheet, PDF (133/277 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES
R8C/14 Group, R8C/15 Group
13. Timers
13.3.1 Input Capture Mode
Input capture mode is mode to input an edge to the TCIN pin or the fRING128 clock as trigger to latch
the timer value and generates an interrupt request. The TCIN input contains a digital filter and this
prevents an error caused by noise or so on from occurring. Table 13.11 shows Specification of Input
Capture Mode. Figure 13.30 shows an Operating Example in Input Capture Mode.
Table 13.11 Specification of Input Capture Mode
Item
Count Source
Count Operation
Count Start Condition
Counter Stop Condition
Interrupt Request
Generation Timing
Specification
f1, f8, f32, fRING-fast
• Increment
• Transfer the value in the TC register to the TM0 register at the active edge
of measurement pulse
• The value in the TC register is set to “0000h” when the count stops
The TCC00 bit in the TCC0 register is set to “1” (count starts)
The TCC00 bit in the TCC0 register is set to “0” (count stops)
• When the active edge of measurement pulse is input [INT3 interrupt](1)
• When Timer C overflows [Timer C interrupt]
INT3/TCIN Pin Function Programmable I/O port or measurement pulse input (INT3 interrupt input)
P1_0 to P1_2, P3_3 to
P3_5 Pin Function
Counter Value Reset
Timing
Read from Timer(2)
Write to Timer
Select Function
Programmable I/O port
When the TCC00 bit in the TCC0 register is set to “0” (capture disabled)
• The count value can be read out by reading the TC register.
• The count value at measurement pulse active edge input can be read out
by reading the TM0 register
Write to the TC and TM0 registers is disabled
• INT3/TCIN polarity select function
The TCC03 to TCC04 bits can select the active edge of measurement
pulse
• Digital filter function
The TCC11 to TCC10 bits can select the digital filter sampling frequency
• Trigger select function
The TCC07 bit can select the TCIN input or the fRING128
NOTES:
1. The digital filter delay and one count source (max.) delay are generated for the INT3 interrupt.
2. Read the TC and TM0 registers in 16-bit unit.
Rev.2.10 Jan 19, 2006 Page 121 of 253
REJ09B0164-0210