Skip to main content
BYaru.1
Visitor II
October 15, 2020
Question

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

  • October 15, 2020
  • 0 replies
  • 494 views

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.

This topic has been closed for replies.