r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 752

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
35.10 Notes on Timer RE
35.10.1 Starting and Stopping Count
35.10.2 Register Setting
Timer RE has the TSTART bit for instructing the count to start or stop, and the TCSTF bit, which indicates
count start or stop. Bits TSTART and TCSTF are in the TRECR1 register.
Timer RE starts counting and the TCSTF bit is set to 1 (count starts) when the TSTART bit is set to 1 (count
starts). It takes up to 2 cycles of the count source until the TCSTF bit is set to 1 after setting the TSTART bit to
1. During this time, do not access registers associated with timer RE
Also, timer RE stops counting when setting the TSTART bit to 0 (count stops) and the TCSTF bit is set to 0
(count stops). It takes the time for up to 2 cycles of the count source until the TCSTF bit is set to 0 after setting
the TSTART bit to 0. During this time, do not access registers associated with timer RE other than the TCSTF
bit.
Note:
Write to the following registers or bits when timer RE is stopped.
Timer RE is stopped when bits TSTART and TCSTF in the TRECR1 register are set to 0 (timer RE stopped).
Also, set all above-mentioned registers and bits (immediately before timer RE count starts) before setting the
TRECR2 register.
Figure 35.6 shows a Setting Example in Real-Time Clock Mode.
Registers TRESEC, TREMIN, TREHR, TREWK, and TRECR2
Bits H12_H24, PM, and INT in TRECR1 register
Bits RCS0 to RCS3 in TRECSR register
1. Registers associated with timer RE: TREMIN, TREHR, TREWK, TRECR1, TRECR2, and TRECSR.
(1)
other than the TCSTF bit.
35. Usage Notes
Page 720 of 740

Related parts for r5f21346mnfp