Part Number: CC2340R5
Tool/software:
It's my first time dealing with TI MCUs, I decided to go with TI-POSIX which is just a wrapper for freeRTOS. However it shows on their user guide for "TI-POSIX" that the function called "timer_settime" is a blocking function where they stated and I quote
timer_settime() - this is a blocking call, unlike on TI-RTOS
where the only functions the can be used inside in ISR are the following functions:

However, looking inside the implementation of the "timer_settime" function, we can clearly see the following lines:
if (HwiP_inISR())
{
status = xTimerChangePeriodFromISR(timer->xTimer, timeoutTicks, &xHigherPriorityTaskWoken);
}
else
{
status = xTimerChangePeriod(timer->xTimer, timeoutTicks, (TickType_t)-1);
}
which checks if we are inside ISR or not which contradicts the documentation. does this mean that there are functions that I can use inside an ISR?