*func | Function that is called when the counter value reaches "0" |
*param | Pointer to parameter handed to function |
/* Callback function example */ void IntFunc(void* param) { IntCount = param; /* Save the parameters */ syTmrGenSetInt(IntFunc, param+1); /* Continue interrupt generation */ syTmrGenSetCount(0-10000); /* Set the initial value in the counter*/ syTmrGenStart(); /* Restart the timer */ }