r5s77631ay266bgv Renesas Electronics Corporation., r5s77631ay266bgv Datasheet - Page 798

no-image

r5s77631ay266bgv

Manufacturer Part Number
r5s77631ay266bgv
Description
Renesas 32-bit Risc Microcomputer Superhtm Risc Engine Family Sh-4a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 20 16-Bit Timer Pulse Unit (TPU)
Figure 20.4 illustrates periodic counter operation.
(2)
The TPU can perform 0, 1, or toggle output from the corresponding output pin (TPU_TO pin)
using TGRA compare match.
(a)
Figure 20.5 shows an example of the setting procedure for waveform output by compare match.
Rev. 1.00 Oct. 01, 2007 Page 732 of 1956
REJ09B0256-0100
Figure 20.5 Example of Setting Procedure for Waveform Output by Compare Match
Waveform Output by Compare Match
Example of setting procedure for waveform output by compare match
TGR
H'0000
CST bit
TGFA
Select waveform output mode
Set external pin function
TCNT value
<Waveform output>
Set output timing
Output selection
Start count
Figure 20.4 Periodic Counter Operation
[1]
[2]
[3]
[4]
[1] Select initial value 0 output or 1 output, and
[2] Set the timing for compare match generation in
[3] Set the external pin function in pin function
[4] Set the CST bit in TSTR to 1 to start the count
first compare match occurs.
compare match output value 0 output, 1 output,
or toggle output, by means of TIOR. The set
initial value is output at the TPU_TO pin until the
TGRA.
controller (PFC).
operation.
Counter cleared by TGRA
compare match
Flag cleared by software
Time

Related parts for r5s77631ay266bgv