Datasheet
Section 11 16-Bit Timer Pulse Unit (TPU) 
R01UH0310EJ0500 Rev. 5.00    Page 753 of 1384 
Sep 25, 2012     
H8S/2426, H8S/2426R, H8S/2424 Group 
(2)  Waveform Output by Compare Match 
The TPU can perform 0, 1, or toggle output from the corresponding output pin using a compare 
match. 
(a)  Example of setting procedure for waveform output by compare match 
Figure 11.6 shows an example of the setting procedure for waveform output by a compare 
match. 
Select waveform output mode
Output selection
Set output timing
Start count
<Waveform output>
[1]
[2]
[3]
[1] Select initial value 0 output or 1 output, and
  compare match output value 0 output, 1 output,
  or toggle output, by means of TIOR. The set
  initial value is output at the TIOC pin until the
  first compare match occurs.
[2]  Set the timing for compare match generation in
 TGR.
[3]  Set the CST bit in TSTR to 1 to start the count
 operation.
Figure 11.6 Example of Setting Procedure for Waveform Output by Compare Match 










