Maxq7667 user’s guide – Maxim Integrated MAXQ7667 User Manual

Page 96

Advertising
background image

___________________________________________________________________________________________________________

6-2

MAXQ7667 User’s Guide

6.7.9 Type 2 Timer Capture Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-27

6.7.9.1 Measure Low-Pulse Duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-27

6.7.9.2 Measure High-Pulse Duration Repeatedly . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-28

6.7.9.3 Measure Period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-29

6.7.9.4 Measure Duty Cycle Repeatedly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-30

6.7.9.5 Overflow/Interrupt on Cumulative Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-31

Figure 6-1. Type 2 Timer/Counter in 16-Bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-4

Figure 6-2. Type 2 Timer/Counter in 8-Bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-5

Figure 6-3. Type 2 Timer Mode Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-19

Figure 6-4. Output Enable and Polarity Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-19

Figure 6-5. Type 2 Timer Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-23

Figure 6-6. Simple Waveform Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-23

Figure 6-7. Waveform Output with Gating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-25

Figure 6-8. Type 2 Timer Application Example—Measure Low Pulse Width . . . . . . . . . . . . . . . . .6-27

Figure 6-9. Type 2 Timer Application Example—Measure High Pulse Width . . . . . . . . . . . . . . . .6-28

Figure 6-10. Type 2 Timer Application Example—Measure Period . . . . . . . . . . . . . . . . . . . . . . . .6-29

Figure 6-11. Type 2 Timer Application Example—Measure Duty Cycle . . . . . . . . . . . . . . . . . . . .6-30

Figure 6-12. Type 2 Timer Application Example—Overflow/Interrupt on Cumulative Time . . . . .6-31

LIST OF FIGURES

Table 6-1. Type 2 Timer/Counter Input and Output Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-6

Table 6-2. Type 2 Timer/Counter Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-7

Table 6-3. Type 2 Timer/Counter Functions and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-18

LIST OF TABLES

Advertising