[SOLVED] Critical region

Hi,
I have an nrf52840 based project , in my application I have a short duration ( ~100ms ) that I need radio to be quiet ( no RX\TX ).
Can I use "OS_TASK_EnterRegion " for that ? Does this function has any effect on BLE Stack ?
( the alternative is to use nordic timeslot api )
Thanks,
Ran

OS_TASK_EnterRegion()/OS_TASK_LeaveRegion() disables preemptive task switches.
Whether this has any effect on the BLE stack depends on your application and the BLE stack itself with which I am not that familiar with.