<< Previous | Next >>

OS_ENTER_CRITICAL

void OS_ENTER_CRITICAL( void );

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


Dynamic C Functions << Previous | Next >> rabbit.com