r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 279

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
16.3.5
b7 to b0 Timer mode
After Reset
Bit
Address 00134h (TRBPRE_0)
In the 8-bit timer with 8-bit prescaler, the 8-bit TRBPRE register is used to set the period of the prescaler. Each
time the prescaler decrements and underflows, the value of the TRBPRE register is reloaded. When read, the
value is read from the prescaler.
In the 16-bit timer, the TRBPRE register is used to set the lower 8 bits of the 16-bit counter. Each time the
counter decrements and underflows, the value of the TRBPRE register is reloaded. When read, the value is read
from the lower 8 bits of the counter. Access the TRBPRE register first and then the TRBPR register.
The TRBPRE register is configured with a master – reload register structure, so the reload register is written
simultaneously while the count is stopped. During the counter operation, the timing for updating the reload
register differs in each mode. For details, refer to Table 16.6 Reload Register Update Timing for Registers
TRBPR and TRBSC in 8-Bit Timer with 8-Bit Prescaler, and Table 16.7 Reload Register Update Timing
for Registers TRBPRE, TRBPR, and TRBSC in 16-Bit Timer. The value is updated in synchronization with
the count source.
If 1 (count is forcibly stopped) is written to the TSTOP bit in the TRBCR register, the TRBPRE register is
initialized (FFh).
Symbol
Bit
Programmable waveform
generation mode
Programmable one-shot
generation mode
Programmable wait one-shot
generation mode
Timer RB2 Prescaler Register (TRBPRE)
Preliminary document
Specifications in this document are tentative and subject to change.
b7
1
Mode
b6
1
b5
1
An internal count source or the timer
RJ underflow is counted.
b4
1
Function
b3
1
b2
1
FFh
FFh
FFh
FFh
Initial Value Setting Range
b1
1
b0
1
00h to FFh
00h to FFh
00h to FFh
00h to FFh
Page 248 of 725
16. Timer RB2
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21368sdfp