I'm confused in using HAL-defined interrupts with FreeRTOS. I'm trying to implement "6.3 Deferred Interrupt Processing" in the guide of FreeRTOS, but I don't know how to do it.
The problem is how to use the peripherals of the STM32 with FreeRTOS. Should I give a semaphore to another task (which read and treat the values) within the irqn "ADC_IRQHandler()" for the ADC or the callback "HAL_ADC_ConvCpltCallback()" for the ADC or just read values with the HAL functions and treat them with FreeRTOS tasks (this one works, but it does not seem to use the RTOS power)?
The manual I talk about: 6.3 Deferred Interrupt Processing (PDF)