Input Capture Mode - Renesas M16C FAMILY Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group

12.4.1 Input Capture Mode

This mode uses an edge input to TC
generates an interrupt request. The TC
noise or so on from occurring. Table 12.13 shows specifications in input capture mode. Figure 12.33
shows an operation example of input capture mode.
Table 12.13 Input Capture Mode Specifications
Item
Count source
Count operation
Count start condition
Counter stop condition
Interrupt request
generation timing
______
INT3/TC
pin function
IN
Counter value reset timing
1
Read from timer
Write to timer
Select function
Notes:
1. TC register and TM0 register must be read in 16-bit units.
2. The INT3 interrupt is acknowledged by digital filter delay and one count source delay (max.)
Rev.0.91
2003 Sep 08
pin or the f
IN
IN
f
, f
, f
, f
1
8
32
RING-fast
• Count up
• Transfer value in TC register to TM0 register at active edge of measurement pulse
• Value in TC register is set to "0000
TCC00 bit in TCC0 register is set to "1" (count start)
TCC00 bit in TCC0 register is set to "0" (count stop)
• When active edge of measurement pulse is input [INT3 interrupt]
• When Time C overflows [Timer C interrupt]
I/O port or measurement pulse input
When TCC00 bit in TCC0 register is set to "0" (capture disabled)
• Count value can be read out by reading TC register.
• Count value at measurement pulse active edge input can be read out by reading TM0
register.
Write to TC register and TM0 register is disabled
_____
• INT3/TC
polarity select function
IN
Measurement pulse active edge is selected by TCC03 to TCC04 bits
• Digital filter function
Digital filter sampling frequency is selected by TCC11 to TCC10 bits
• Trigger select function
TC
input or f
IN
RING128
page 105 of 184
clock as trigger to latch the timer value and
RING128
input has a digital filter and this prevents an error caused by
Specification
" when a counting stops
16
is selected by TCC07 bit.
12.4 Timer (Timer C)
_____
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents