HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 263

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
Compare-Match Waveform Output Function: For ITU channels 0, 1, 3, and 4, the output from
the corresponding TIOCA and TIOCB pins upon compare matches A and B can be in three
modes: 0-level output, 1-level output, or toggle. Toggle output cannot be selected in channel 2.
• Procedure for selecting the waveform output mode (figure 10.19):
1. Set the TIOR to select 0 output, 1 output, or toggle output for compare match output. The
2. Set a value in the GRA or GRB to select the compare match timing.
3. Set the STR bit in the TSTR to 1 to start counting.
Figure 10.19 Procedure for Selecting the Compare Match Waveform Output Mode
External clock
compare match output pin will output 0 until the first compare match occurs.
TCNT input
input pin
TCNT
clock
CK
Figure 10.18 Count Timing for External Clock Sources
N – 1
Waveform output
Select waveform
Output selection
Start counting
output timing
output mode
Select
N
(1)
(2)
(3)
N + 1
HITACHI 249

Related parts for HD6417021