ATmega 32 , Waking a task from an ISR

areeg wrote on Wednesday, January 17, 2018:

I’d like to konw how to keep a task idle and wake it from an ISR , for a specific time ,then return idle
Thanks

rtel wrote on Thursday, January 18, 2018:

There are lots of different ways - queues, semaphores, event groups,
stream buffers, message buffers can all be used to wake a task from an
interrupt. As a starting point for you I would recommend looking at
task notifications - as that is one of the most efficient ways. The
first link gives an overview of task notifications, the second has a
code snippet showing interrupt to task notifications.

https://www.freertos.org/RTOS-task-notifications.html
https://www.freertos.org/RTOS_Task_Notification_As_Counting_Semaphore.html