r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 280

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.6
b7 to b0 Timer mode
After Reset
Bit
Address 00135h (TRBPR_0)
In the 8-bit timer with 8-bit prescaler, the 8-bit TRBPR register is used to set the period of the counter and the
primary period. When read, the value is read from the 8-bit counter.
In the 16-bit timer, the 8-bit TRBPR register is used to set the period of the higher 8-bit counter and the primary
period. When read, the value is read from the higher 8 bits of the 16-bit timer. Access the TRBPRE register and
then the TRBPR register.
The TRBPR 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.
If 1 (count is forcibly stopped) is written to the TSTOP bit in the TRBCR register, the TRBPR register is
initialized (FFh).
Symbol
Bit
Programmable waveform
generation mode
Programmable one-shot
generation mode
Programmable wait one-shot
generation mode
Timer RB2 Primary Register (TRBPR)
Preliminary document
Specifications in this document are tentative and subject to change.
b7
1
Mode
b6
1
b5
1
Timer RB2 prescaler
underflow is counted.
Timer RB2 prescaler
underflow is counted
(one-shot width is
counted).
Timer RB2 prescaler
underflow is counted
(wait period is
counted).
8-Bit Timer with
8-Bit Prescaler
b4
1
Function
b3
1
An internal count
source or the timer
RJ underflow is
counted.
16-Bit Timer
b2
1
b1
1
FFh
FFh
FFh
FFh
Value
Initial
b0
1
00h to FFh
00h to FFh
00h to FFh
00h to FFh
Setting
Range
Page 249 of 725
16. Timer RB2
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21368sdfp