r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 387

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
Figure 18.11
18.3.4.2
Lower 11-bit counter
TRESEC + TREMIN
TRESEC register
TREADJ register
TREIFR register
For the automatic correction function, when 1 is written to the MINUS or PLUS bit in the TREADJ register,
correction is performed periodically. The TREADJ register is added/subtracted to/from the internal counter
value every minute or 10 seconds with the AADJM bit in the TRECSR register.
Figure 18.11 shows an Operation Example of Addition Correction with Automatic Correction Function and
Figure 18.12 shows an Operation Example of Subtraction Correction with Automatic Correction Function.
TADJSF bit in
PLUS bit in
BSY bit in
Registers
Preliminary document
Specifications in this document are tentative and subject to change.
Automatic Correction Function
Operation Example of Addition Correction with Automatic Correction Function
Write 1 to PLUS bit
The above diagram applies under the following conditions:
When real-time clock mode is selected:
• AADJE bit in TRECR register = 1 (automatic correction function enabled (correction by software disabled))
• AADJM bit in TRECSR register = 1 (corrected every 10 seconds)
• M: Value set in bits ADJ0 to ADJ5 in TREADJ register
03 min 38 s
N
N + 1
• • • •
03 min 39 s
Time when BSY bit is set to 0
Addition correction
7FFh
occurs/ends
M
03 min 40 s
For addition correction with the automatic correction
function, the TADJSF bit is not set to 1 because
correction occurs and ends simultaneously
M + 1
• • • • • •
10 s
• • • •
03 min 49 s
Time when BSY bit is set to 0
Addition correction
7FFh
occurs/ends
M
03 min 50 s
Page 356 of 725
M + 1
18. Timer RE2
• • • •

Related parts for r5f21368sdfp