EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 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 #740 background imageLoading...
Page #740 background image
R01UH0823EJ0100 Rev.1.00 Page 740 of 1823
Jul 31, 2019
RX23W Group 26. 8-Bit Timer (TMR)
26.3.2 External Counter Reset Input
Figure 26.4 shows an example of the 8-bit timer being used to generate a pulse which is output after a desired delay time
from a TMRIn input.
1. Set the TCR.CCLR[1:0] bits to 11b (cleared by external counter reset signal) and set the TMRIS bit in TCCR to 1
(cleared when the external counter reset signal is high) so that TCNT is cleared at the high level input of the TMRIn
signal.
2. Set the TCSR.OSA[1:0] bits to 10b (high output) and the TCSR.OSB[1:0] bits to 01b (low output), causing the
output to change to high at a compare match of TCORA and to low at a compare match of TCORB.
With these settings, the 8-bit timer provides pulses output at a desired delay time from a TMRIn input determined by
TCORA and with a pulse width determined by TCORB and TCORA.
Figure 26.4 Example of External Counter Reset Signal Input (n = 0 to 2)
TCORA
TCORB
00h
TMRIn
TMOn
TCNT

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals