cancel
Showing results for 
Search instead for 
Did you mean: 

Hi all. I faced with receiving an incorrect argument in the CMSIS_OSV1 Timer callback function.

BYaru.1
Associate

Documentation on CMSIS_OS said that function osTimerCreate has such parameters.

[in]timer_def timer object referenced with osTimer.

[in]type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior.

[in]argument argument to the timer call back function.

But unfortunately in the timer callback function, I received not the third parameter as input.

Could someone clarify why the behavior was changed?

Thanks.

0 REPLIES 0