Jump to main content

##

# 1.4.4.18 OSAL_CRIT_TYPE Enum

## C

    typedef enum OSAL_CRIT_TYPE
    {
        OSAL_CRIT_TYPE_LOW,
        OSAL_CRIT_TYPE_HIGH
    } OSAL_CRIT_TYPE;

## Summary

Enumerated type representing the possible types of critical section.

## Description

This enum represents possible critical section types.

OSAL_CRIT_TYPE_LOW - Low priority critical section, can be formed by locking the scheduler (if supported by RTOS) OSAL_CRIT_TYPE_HIGH - High priority critical section, will be formed by disabling all interrupts.

## Remarks

Critical section types.