Output example—timer in up mode, Figure 13−12. output example—timer in up mode – Texas Instruments MSP430x4xx User Manual

Page 247

Advertising
background image

Timer_B Operation

13-15

Timer_B

Output Example—Timer in Up Mode

The OUTx signal is changed when the timer counts up to the TBCLx value, and
rolls from TBCL0 to zero, depending on the output mode. An example is shown
in Figure 13−12 using TBCL0 and TBCL1.

Figure 13−12. Output Example—Timer in Up Mode

0h

TBR(max)

EQU0

TBIFG

Output Mode 1: Set

Output Mode 2: Toggle/Reset

Output Mode 3: Set/Reset

Output Mode 4: Toggle

Output Mode 5: Reset

Output Mode 6: Toggle/Set

Output Mode 7: Reset/Set

TBCL0

TBCL1

EQU1

EQU0

TBIFG

EQU1

EQU0

TBIFG

Interrupt Events

Advertising