<< Previous | Next >>

OS_ENTER_CRITICAL

void OS_ENTER_CRITICAL();

Description

Enter a critical section. Interrupts will be disabled until OS_EXIT_CRITICAL() is called. Task switching is disabled. This function must be used with great care, since misuse can greatly increase the latency of your application. Note that nesting OS_ENTER_CRITICAL() calls will work correctly.

Library

UCOS2.LIB


020-0059 Rev. D << Previous | Next >> µC/OS-II