Continuous mode, Figure 13−4. continuous mode, Figure 13−5. continuous mode flag setting – Texas Instruments MSP430x4xx User Manual

Page 239

Advertising
background image

Timer_B Operation

13-7

Timer_B

Continuous Mode

In continuous mode the timer repeatedly counts up to TBR

(max)

and restarts

from zero as shown in Figure 13−4. The compare latch TBCL0 works the same
way as the other capture/compare registers.

Figure 13−4. Continuous Mode

0h

TBR(max)

The TBIFG interrupt flag is set when the timer counts from TBR

(max)

to zero.

Figure 13−5 shows the flag set cycle.

Figure 13−5. Continuous Mode Flag Setting

TBR (max)−1 TBR (max)

0h

Timer Clock

Timer

Set TBIFG

1h

TBR (max)

0h

TBR (max)−1

Advertising