MCUXpresso SDK API Reference Manual  Rev 2.12.1
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Os_abstraction_thread


Copyright 2020 NXP All rights reserved. More...

Overview

SPDX-License-Identifier: BSD-3-Clause

Macros

#define OSA_TASK_HANDLE_SIZE   (sizeof(TX_THREAD) + sizeof(list_element_t))
 OSA task handle size. More...
 
#define OSA_EVENT_HANDLE_SIZE   (sizeof(TX_EVENT_FLAGS_GROUP) + sizeof(uint8_t))
 OSA event handle size. More...
 
#define OSA_SEM_HANDLE_SIZE   sizeof(TX_SEMAPHORE)
 OSA semaphore handle size. More...
 
#define OSA_MUTEX_HANDLE_SIZE   sizeof(TX_MUTEX)
 OSA mutex handle size. More...
 
#define PRIORITY_OSA_TO_THREAD(osa_prio)   ((UINT)TX_MAX_PRIORITIES - (osa_prio)-2U)
 To provide unified task priority for upper layer, OSA layer makes conversion.
 

Macro Definition Documentation

#define OSA_TASK_HANDLE_SIZE   (sizeof(TX_THREAD) + sizeof(list_element_t))
#define OSA_EVENT_HANDLE_SIZE   (sizeof(TX_EVENT_FLAGS_GROUP) + sizeof(uint8_t))
#define OSA_SEM_HANDLE_SIZE   sizeof(TX_SEMAPHORE)
#define OSA_MUTEX_HANDLE_SIZE   sizeof(TX_MUTEX)