EasyManua.ls Logo

Hitachi SH7032 - Page 291

Hitachi SH7032
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
256
CK
N – 1 N N + 1
Internal clock
TCNT input
clock
TCNT value
Figure 10.17 Count Timing for Internal Clock Sources
CK
N – 1 N N + 1
External clock
input pin
TCNT input
clock
TCNT
Figure 10.18 Count Timing for External Clock Sources (Both-Edge Detection)
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 for channel 2.
Procedure for selecting the waveform output mode (figure 10.19):
1. Set TIOR to select 0 output, 1 output, or toggle output for compare match output. The
compare match output pin will output 0 until the first compare match occurs.
2. Set a value in GRA or GRB to select the compare match timing.
3. Set the STR bit in TSTR to 1 to start counting.

Table of Contents

Related product manuals