R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 118

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
NOTES:
Table 12.14 Output Compare Mode Specifications
1. TC, TM0, and TM1 registers should be accessed in 16-bit units.
2. When the corresponding port data is “1”, the waveform is output depending on the setting of the registers TCC1 and
Count source
Count operation
Count start condition
Count stop condition
Waveform output start
condition
Waveform output stop
condition
Interrupt request
generation timing
______
INT3/TC
P1
P3
Counter value reset timing
Read from timer
Write to timer
Select function
TCOUT. When the corresponding port data is “0”, the fixed level is output (refer to Figure 12.30 CMP Waveform
Output Unit.
0
2
12.4.2 Output Compare Mode
to P1
pins function
In this mode, an interrupt request is generated when the value of TC register matches the value of
TM0 or TM1 register. Table 12.14 shows specifications in output compare mode. Figure 12.34 shows
an operation example of output compare mode.
Jan 27, 2006
IN
Item
2
pin function
pins and P3
(1)
(1)
page 107 of 205
0
to Programmable I/O port or CMP output
f
• Count up
• 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 “1” (CMP output enabled) is written to TCOUT0 to TCOUT5 bits.
When “0” (CMP output disabled) is written to TCOUT0 to TCOUT5 bits.
• When a match occurs in compare circuit 0 [compare 0 interrupt]
• When a match occurs in compare circuit 1 [compare 1 interrupt]
• When Time C overflows [Timer C interrupt]
Programmable I/O port or INT3 interrupt input
When TCC00 bit in TCC0 register is set to “0” (count stop)
• Value in compare register can be read out by reading TM0 register and TM1 register.
• Count value can be read out by reading TC register.
• Write to TC register is disabled.
• Values written to TM0 register and TM1 register are stored in compare register at the
• Timer C counter reload select function
• Output level at match occurrence in compare circuit 0 can be selected by TCC15 to
• Whether output is reversed or not can be selected by TCOUT1 to TCOUT0 bits in
1
following timings:
- When TM0 and TM1 registers are written if TCC00 bit is “0” (count stop)
- When counter overflows if TCC00 bit is “1” (in counting) and TCC12 bit in TCC1
register is “0” (free-run)
- When compare 1 matches counter if TCC00 bit is “1” and TCC12 bit is “1” (set TC
register to “0000
Counter value in TC register at match occurrence in compare circuit 1 is set or not set
to “0000
TCC14 bits in TCC1 register. Similarly, output level at match occurrence in compare
circuit 1 can be selected by TCC17 to TCC16 bits in TCC1 register.
TCOUT register.
, f
8
, f
32
, f
16
RING
” selected by TCC12 bit in TCC1 register.
-fast
16
” at compare 1 match)
_______
Specification
16
(2)
” when a counting stops
12.4 Timer (Timer C)
(2)

Related parts for R5F21133DFP