beautypg.com

2 modes of operation, 2 modes of operation -5, Figure 9-1. timer 2 mode selection -5 – Maxim Integrated MAXQ Family User Manual

Page 83: Figure 9-2. output enable and polarity control -5, Maxq family user’s guide

background image

9-5

MAXQ Family User’s Guide

9.2 Modes of Operation

As summarized in Table 9-1, Timer 2 can provide six timer functions. The Timer 2 operating mode selection is illustrated in Figure 9-1

and Figure 9-2 shows the PWM timer output possibilities.

T2MD

T2L 8-BIT TIMER

T2H:T2L

16-BIT TIMER

OR

T2H

8-TIMER

POSSIBLE INPUT USE:

TIMER GATE

EDGE

CAPTURE/RELOAD

EDGE COUNTER

T2PB PIN

T2OE [0]

T2OE [1]

T2POL [1]

POx.x DATA

(IF PDx.x = 1)

POx.x DATA

(IF PDx.x = 1)

T2P PIN

T2POL [0]

Figure 9-2. Output Enable and Polarity Control

T2CL

EDGE DETECTION

AND GATING

C/T2

TR2L

T2MD

T2CLK

CCF [1:0]

G2EN

TR2

SS2

T2POL [0]

T2L

T2L COMPARE MATCH

T2H:T2L COMPARE MATCH

OR T2H COMPARE MATCH

T2L OVERFLOW

T2H:T2L OVERFLOW

OR T2H OVERFLOW

T2RL

T2P PIN INPUT

T2CH

T2H

T2RH

Figure 9-1. Timer 2 Mode Selection

Maxim Integrated