hit counter script

Hitachi H8/3022 Hardware Manual page 252

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

Example of Reset-Synchronized PWM Mode: Figure 8-32 shows an example of operation in
reset-synchronized PWM mode. TCNT3 operates as an up-counter in this mode. TCNT4 operates
independently, detached from GRA4 and GRB4. When TCNT3 matches GRA3, TCNT3 is cleared
and resumes counting from H'0000. The PWM outputs toggle at compare match with GRB3,
GRA4, GRB4, and TCNT3 respectively, and when the counter is cleared.
TCNT3 value
GRA3
GRB3
GRA4
GRB4
H'0000
TIOCA
3
TIOCB
3
TIOCA
4
TOCXA
4
TIOCB
4
TOCXB
4
Figure 8-32 Operation in Reset-Synchronized PWM Mode (Example)
For the settings and operation when reset-synchronized PWM mode and buffer mode are both
selected, see section 8.4.8, Buffering.
240
Counter cleared at compare match with GRA3
(when OLS3 = OLS4 = 1)
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents