/
6 7 0 6 7 0

6 7 0 - PowerPoint Presentation

phoebe-click
phoebe-click . @phoebe-click
Follow
392 views
Uploaded On 2017-09-07

6 7 0 - PPT Presentation

1 5 ACLK 32768kHz Timer count ex TA0R Interrupt Note Timer Settings Upmode CCR07 CCR1 7 CCR21 Interrupts Enabled CCR1CCR2overflow CCR1 Interrupt overflow ID: 586074

timer interrupt ccr1 ta0r interrupt timer ta0r ccr1 count ccr2 overflow taclr aclk understanding clear 768khz restart case cleared

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "6 7 0" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

6

7

0

1

5

ACLK

(32.768kHz)

Timer count

(ex. TA0R)

Interrupt

Note:

Timer Settings :

Upmode

/ CCR0=7 / CCR1 =7/ CCR2=1

Interrupts

Enabled: CCR1/CCR2/overflow

CCR1

Interrupt

overflow

Interrupt

CCR2

Interrupt

B

A

C

Normal operationSlide2

Case A: Timer is cleared in A duration

ex

: TA0CTL |= (MC_1 | TACLR);

6

7

0

1

5

ACLK

(32.768kHz)

Timer count

(ex. TA0R)

Interrupt

CCR1

Interrupt

overflow

Interrupt

CCR2

Interrupt

Timer

Clear

In my understanding, this interrupt will happen.

Is my understanding correct?

Timer

RestartSlide3

Case B: Timer is cleared in B duration

ex: TA0CTL |= (MC_1 | TACLR);

6

7

0

1

5

ACLK

(32.768kHz)

Timer count

(ex. TA0R)

Interrupt

CCR1

Interrupt

overflow

Interrupt

CCR2

Interrupt

Timer

Clear

In my understanding, this interrupt will happen.

Is my understanding correct?

Will the value of TA0R not count up at thi

s rising edge?

Is the value of TA0R clear when the TACLR was enabled

Timer

RestartSlide4

Case C: Timer is cleared in C duration

ex: TA0CTL |= (MC_1 | TACLR);

6

7

1

2

5

ACLK

(32.768kHz)

Timer count

(ex. TA0R)

Interrupt

CCR1

Interrupt

overflow

Interrupt

CCR2

Interrupt

Timer

Clear

0

Is this interrupt occurred?

Will the value of TA0R count up at thi

s rising edge?

Timer

Restart

Related Contents


Next Show more