EasyManua.ls Logo

Hitachi SH7032 - Contention between General Register Write and Input Capture; Note on Waveform Cycle Setting

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...
297
10.6.8 Contention between General Register Write and Input Capture
If an input capture signal is generated during the T3 state of a general register write cycle, the
input capture transfer takes priority and the write to GR is not performed. The timing is shown in
figure 10.65.
T1T2 T3
GR write cycle
GR address
M
CK
Address
Internal
write signal
Input capture
signal
TCNT
GR
M
Figure 10.65 Contention between General Register Write and Input Capture
10.6.9 Note on Waveform Cycle Setting
When a counter is cleared by compare match, the counter is cleared in the last state in which the
TCNT value matches the GR value (when TCNT is updated from the matching count to the next
count). The actual counter frequency is therefore given by the following formula:
f = φ/(N + 1)
(f: counter frequency; φ: operating frequency; N: value set in GR)

Table of Contents

Related product manuals