EasyManuals Logo

Renesas R8C/20 User Manual

Renesas R8C/20
501 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 182 of 458
REJ09B0250-0200
Figure 14.45 Operating Example of Input Capture Function
Set to 0 by a program
Transfer
i = 0 or 1
The above applies to the following conditions:
The CCLR2 to CCLR0 bits in the TRDCRi register are set to 001b. (Set the TRDi register to 0000h by the TRDGRAi register input capture.)
The TCK2 to TCK0 bits in the TRDCRi register are set to 101b (TRDCLK input for the count source).
The CKEG1 to CKEG0 bits in the TRDCRi register are set to 01b (count at the falling edge for the count source).
The IOA2 to IOA0 bits in the TRDIORAi register are set to 101b (input capture at the falling edge of the TRDIOAi input).
The BFCi bit in the TRDMR register is set to 1. (The TRDGRCi register is used as the buffer register of the TRDGRAi register.)
Count value
in TRDi register
FFFFh
0009h
0006h
TSTARTi bit in
TRDSTR register
65536
TRDGRAi register
0000h
1
0
TRDIOAi input
TRDGRCi register
IMFA bit in
TRDSRi register
OVF bit in
TRDSRi register
0009h0006h
0006h
1
0
1
0
TRDCLK input
count source
Transfer

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas R8C/20 and is the answer not in the manual?

Renesas R8C/20 Specifications

General IconGeneral
BrandRenesas
ModelR8C/20
CategoryControl Unit
LanguageEnglish

Related product manuals