This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28377S: A Timer Examples

Part Number: LAUNCHXL-F28377S

Hi,

I need to use a timer in order to wakeup (interrupt) some function every constant period.

I checked example code in C2000ware but appropriate example is not there.

I try to code as follows;

1. initialize timer-0 in initialize function

2. set period time for timer-0 in initialize or other function

3. register the timer-0 and vector number and function which makes the interrupt every constant period

Are above sequence in code is correct, and do you know better example code?

Best Regards,

Takano