Menu

#122 Add a void *pvParameters to Timer_t struct

closed
nobody
None
5
2020-02-24
2018-06-07
No

Hi FreeRTOS team,

Would be great to add the possibility to pass a void pointer during a timer creation in order to retrieve it when a timer is fired up.

Jocelyn Masserot

Discussion

  • Richard Barry

    Richard Barry - 2018-06-07

    Can you use the timer ID for this purpose? I think it can be set to
    whatever you want:
    https://www.freertos.org/FreeRTOS-timers-pvTimerGetTimerID.html

     
    • Jocelyn Masserot

      I thought about that and yes timer ID is a void pointer. However it looks more like a patch than a real feature.

       

      Last edit: Jocelyn Masserot 2018-06-07
  • Richard Barry

    Richard Barry - 2020-02-24
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB