beautypg.com

Maxim Integrated MAXQ7666 User Manual

Page 237

background image

MAXQ7665/MAXQ7666 User’s Guide

7-2

7.4 Type 2 Timer/Counter Capture Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-22

7.4.1 Measure Low-Pulse Duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-22

7.4.2 Measure High-Pulse Duration Repeatedly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-23

7.4.3 Measure Period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-24

7.4.4 Measure Duty Cycle Repeatedly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-25

7.4.5 Overflow/Interrupt on Cumulative Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-26

7.5 Type 2 Timer/Counter Compare Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-27

7.5.1 A Simple Waveform Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-27

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

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

Figure 7-3. Type 2 Timer Mode Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-18

Figure 7-4. Output Enable and Polarity Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-18

Figure 7-5. Type 2 Timer Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-21

Figure 7-6. Type 2 Timer Application Example—Measure Low Pulse Width . . . . . . . . . . . . . . . . .7-22

Figure 7-7. Type 2 Timer Application Example—Measure High Pulse Width . . . . . . . . . . . . . . . .7-23

Figure 7-8. Type 2 Timer Application Example—Measure Period . . . . . . . . . . . . . . . . . . . . . . . . .7-24

Figure 7-9. Type 2 Timer Application Example—Measure Duty Cycle . . . . . . . . . . . . . . . . . . . . .7-25

Figure 7-10. Type 2 Timer Application Example—Overflow/Interrupt on Cumulative Time . . . . .7-26

Figure 7-11. Type 2 Timer Compare Application Example—A Simple Waveform Output . . . . . . .7-27

LIST OF FIGURES

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

Table 7-2. Type 2 Timer/Counter Peripheral Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-6

Table 7-3. Type 2 Timer/Counter Functions and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-17

LIST OF TABLES

Maxim Integrated

This manual is related to the following products: