r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 268

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
Figure 18.2
When the TWRC bit is set to 0 (write to reload register and counter)
When the TWRC bit is set to 1 (write to reload register only)
The above applies under the following conditions.
Both bits TSTART and TCSTF in the TRBCR register are set to 1 (During count).
Counter of timer RB
Reloads register of
Reloads register of
timer RB prescaler
timer RB prescaler
Counter of timer RB
Reloads register of
Reloads register of
timer RB prescaler
timer RB prescaler
IR bit in TRBIC
Count source
Count source
IR bit in TRBIC
Set 01h to the TRBPRE register and 25h to
the TRBPR register by a program.
Set 01h to the TRBPRE register and 25h to
the TRBPR register by a program.
Counter of
timer RB
Counter of
register
Operation
Operating Example of Timer RB when Counter Value is Rewritten during Count
timer RB
register
0
Previous value
Previous value
06h
06h
05h
05h
Previous value
After writing, the reload register is
written with the first count source.
After writing, the reload register is
written with the first count source.
03h
04h
04h
Previous value
01h
03h
03h
Reload with
the second
count source
The IR bit remains unchanged until underflow
is generated by a new value.
02h
00h
After writing, the reload register is
written on the first underflow.
01h
Reload on
underflow
01h
02h
New value (01h)
00h
00h
01h
01h
New value (01h)
Reload on the second
underflow
Only the prescaler values are updated,
extending the duration until timer RB underflow.
Reload on
underflow
New value (25h)
25h
02h
00h
00h
After writing, the reload register is
written on the first underflow.
01h
01h
24h
01h
New value (25h)
00h
00h
01h
00h
00h
Page 236 of 740
01h
18. Timer RB
Reload on
underflow
25h

Related parts for r5f21346mnfp