EasyManuals Logo
Home>Renesas>Computer Hardware>R8C series

Renesas R8C series User Manual

Renesas R8C series
341 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 #168 background imageLoading...
Page #168 background image
R8C/1A Group, R8C/1B Group 14. Timers
Rev.1.30 Dec 08, 2006 Page 150 of 315
REJ09B0252-0130
Figure 14.31 Operating Example in Output Compare Mode
Value set in TM1 register
0000h
Counter content (hex)
Count starts
Match
Time
TCC00 bit in
TCC0 register
1
0
IR bit in CMP0IC
register
1
0
TCC12 bit in TCC1 register = 1 (TC register is set to 0000h at compare 1 match occurrence )
TCC13 bit in TCC1 register = 1 (Compare 0 output selected)
TCC15 to TCC14 bits in TCC1 register = 11b (CMP output level is set to high at compare 0 match occurrence)
TCC17 to TCC16 bits in TCC1 register = 10b (CMP output level is set to low at compare 1 match occurrence)
TCOUT6 bit in TCOUT register = 0 (not inverted)
TCOUT7 bit in TCOUT register = 1 (inverted)
TCOUT0 bit in TCOUT register = 1 (CMP0_0 output enabled)
TCOUT3 bit in TCOUT register = 1 (CMP1_0 output enabled)
P1_0 bit in P1 register = 1 (high)
P3_0 bit in P3 register = 1 (high)
Set to 1 by program
IR bit in CMP1IC
register
1
0
Value set in TM0 register
Match Match
CMP0_0 output
1
0
1
0
CMP1_0 output
Set to 0 when interrupt request is acknowledged, or set by program
Set to 0 when interrupt request is
acknowledged, or set by program
The above applies to the following conditions :

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas R8C series Specifications

General IconGeneral
BrandRenesas
ModelR8C series
CategoryComputer Hardware
LanguageEnglish

Related product manuals