r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 352

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
18. Timer RE2
18.1
Table 18.1
Table 18.2
Count source
Count
Reset
Interrupts
TMRE2O pin functions
Read from and write to timer
Selectable functions
Count sources
Count
Reset
Interrupts
TMRE2O pin functions
Timer RE2 includes a 3-bit counter, a 4-bit counter, and an 8-bit counter.
Timer RE2 supports the following two modes:
• Real-time clock mode
• Compare match timer mode
Table 18.1 lists the Real-Time Clock Mode Specifications. Table 18.2 lists the Compare Match Timer Mode
Specifications. Figure 18.1 shows the Real-Time Clock Mode Block Diagram. Figure 18.2 shows the Compare
Match Timer Mode Block Diagram, and Table 18.3 lists the Timer RE2 Pin Configuration.
A one-second signal is generated from the fC1 clock and used to count seconds, minutes, hours, days of the week,
days, months, and years (supporting leap years from 2000 to 2099).
A count source is counted and compare matches are detected.
Overview
Item
Item
Preliminary document
Specifications in this document are tentative and subject to change.
Real-Time Clock Mode Specifications
Compare Match Timer Mode Specifications
fC1 (32 kHz)
Starting or stopping the count can be selected.
Reset by the RTCRST bit in the TRECR register
• Periodic interrupt
• Alarm interrupt
Either of the following is selected:
• Programmable I/O port
• Output of f4, f8, f16, f32, 1 Hz, 64 Hz, or fC1
The values of the timer RE2 data registers (TRESEC, TREMIN, TREHR, TREWK,
TREDY, TREMON, and TREYR) other than the TREWK register are represented by
the BCD code.
• Second adjustment function
• Clock error correction function
• The standby state can be set for the module only.
f8, f32, f128, f256, f512, f2048, f4096, f8192
Starting or stopping the count can be selected.
Reset by the RTCRST bit in the TRECR register
• Compare match interrupt
• Overflow interrupt
Either of the following is selected:
• Programmable I/O port
• Output of f4, f8, f16, f32, or 64 Hz
• Output toggled at every compare match
• The standby state can be set for the module only.
One of the following is selected:
- 0.25 seconds
- 0.5 seconds
- 1 second
- Minute
- Hour
- Day
- Month
- Year
Reset adjustment function and 30-second adjustment function
Description
Description
Page 321 of 725
18. Timer RE2

Related parts for r5f21368sdfp