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.

Difference b/w Timer module and clock module in TI-RTOS?

Dear team,

I am really confused b/w timer module and clock module. clock module's explanation in the TI-RTOS  tutorials videos is very much clear. when the tick reaches defined period ,hwi occurs which  in turn post the swi internally, there by all the clock module fxns created by us are swi's .  but what is the role of timer module now?? and how it differs w.r.t clock module??? 

  • The Clock objects manged by the Clock module all share a common global time base governed by the Clock.tickPeriod configuration parameter which is set to 1ms by default. Clock functions executed within a Swi context. Clock objects are used internally by Task_sleep(), Semaphore_pend(), and Event_pend() to obey the API's timeout argument.

    The Timer module allows the user to configure and dedicate a specific hardware timer resource for a particular application. The period/timeout of the timer is user configurable and does NOT effect any other behavior/function within TI-RTOS. Timer functions execute within a Hwi context.

    Alan