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

Page 223

Advertising
background image

Timer_A Operation

12-14

Timer_A

Output ExampleTimer in Up Mode

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

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

0h

0FFFFh

EQU0

TAIFG

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

TACCR0

TACCR1

EQU1

EQU0

TAIFG

EQU1

EQU0

TAIFG

Interrupt Events

Advertising