Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: knl.Clock and knl.Swi call context priorities

$
0
0

Hi Jose, 

The priority is part of the Clock module, not the clock params.  See the difference below:

// This code will cause an error. // The priority is not featured in Clock Params. var Clock = xdc.useModule ("ti.sysbios.knl.Clock"); var ClockParams = new Clock.Params(); ClockParams.priority = 3;  // To set Clock Module SWI priority // you must act upon the module itself. var Clock = xdc.useModule('ti.sysbios.knl.Clock'); Clock.swiPriority = 10;

Hope this helps,

-- Emmanuel


Viewing all articles
Browse latest Browse all 25965

Trending Articles