This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

tsk_lock() and tsk_unlock()

Hallo,

i use tsk_lock() for disables task switching(on Arm Cortex-M3)
is this the same function as NVIC_DisableIRQ(SysTick_IRQn)

i wonder because tsk_lock() takes longer then calling
NVIC_DisableIRQ(SysTick_IRQn)

Rgds,
Willi Huber

0