r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 265

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 15.4
15.4.3
In this mode, the counter is decremented by the count source selected by bits TCK0 to TCK2 in the TRJMR
register and a pulse is output from the TRJIO or TRJO pin each time an underflow occurs.
In pulse output mode, the count value is decremented by 1 each time the count source is input. If the next count
source is input after the count value reaches 0000h, the set value in the reload register is loaded, and an
underflow occurs, generating an interrupt.
In addition, a pulse can be output from pins TRJIO and TRJO. The output level is inverted each time an
underflow occurs. The pulse output from the TRJIO pin can be stopped by the TOPCR bit in the TRJIOC
register.
Also, the output level can be selected by the TEDGSEL bit in the TRJIOC register.
Figure 15.4 shows an Operation Timing Example in Pulse Output Mode.
Timer RJ counter
TRJIO pin output
TRJO pin output
TRJIOC register
TRJIOC register
TEDGSEL bit in
TRJCR register
Reload register
TSTART bit in
Count source
TOPCR bit in
TRJ register
Pulse Output Mode
Preliminary document
Specifications in this document are tentative and subject to change.
Operation Timing Example in Pulse Output Mode
Write 0002h to TRJ register by a program
FFFFh
FFFFh
Note:
FFFFh
1. The port selected as the TRJIO function becomes high impedance.
0002h
0002h
0001h 0000h 0002h 0001h 0000h
0002h
0002h 0001h 0000h 0002h 0001h 0004h 0003h 0002h 0001h 0000h 0004h
Write 0004h to TRJ register by a program
High-impedance state
0004h
0004h
(1)
Page 234 of 725
0003h
15. Timer RJ
0

Related parts for r5f21368sdfp