AnsweredAssumed Answered

MKW30Z Total number of timers

Question asked by Lucian Firan on Nov 21, 2016

KW40Z_Connectivity_Software_1.0.1 KSDK_1.3.0 IAR 7.5

 

I see that the total number of timers defined as:

gTmrTotalTimers_c   ( gTmrApplicationTimers_c + gTmrStackTimers_c )

in TimersManager.h

 

In examples I see these numbers (app_preinclude.h)

/* Defines number of timers needed by the application */
#define gTmrApplicationTimers_c         4

/* Defines number of timers needed by the protocol stack */
#define gTmrStackTimers_c               5

 

First, there is a total max number of timers ?

 

If I add TPM channels for PWM like al this 5
TPM1_CH0, TPM1_CH1, TPM0_CH0, TPM0_CH1, TPM0_CH2

 

Do I need to increase number of timers needed by the application ?

 

Thank you,

Lucian.

Outcomes