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

Overview

Macros

#define OSA_WAIT_FOREVER   0xFFFFFFFFU
 Constant to pass as timeout value in order to wait indefinitely. More...
 
#define FSL_OSA_TIME_RANGE   0xFFFFFFFFU
 OSA's time range in millisecond, OSA time wraps if exceeds this value. More...
 
#define OSA_DEFAULT_INT_HANDLER   ((osa_int_handler_t)(&DefaultISR))
 The default interrupt handler installed in vector table. More...
 

Typedefs

typedef TaskHandle_t task_handler_t
 Type for a task handler, returned by the OSA_TaskCreate function. More...
 
typedef portSTACK_TYPE task_stack_t
 Type for a task stack. More...
 
typedef void * task_param_t
 Type for task parameter.
 
typedef EventBits_t event_flags_t
 Type for an event flags object. More...
 

Thread management

#define PRIORITY_OSA_TO_RTOS(osa_prio)   ((UBaseType_t)configMAX_PRIORITIES - (osa_prio)-2U)
 To provide unified task piority for upper layer, OSA layer makes conversion.
 
#define PRIORITY_RTOS_TO_OSA(rtos_prio)   ((UBaseType_t)configMAX_PRIORITIES - (rtos_prio)-2U)
 

Message queues

#define MSG_QUEUE_DECLARE(name, number, size)   msg_queue_t *name = NULL
 This macro statically reserves the memory required for the queue. More...
 

Macro Definition Documentation

#define OSA_WAIT_FOREVER   0xFFFFFFFFU
#define FSL_OSA_TIME_RANGE   0xFFFFFFFFU
#define OSA_DEFAULT_INT_HANDLER   ((osa_int_handler_t)(&DefaultISR))
#define MSG_QUEUE_DECLARE (   name,
  number,
  size 
)    msg_queue_t *name = NULL
Parameters
nameIdentifier for the memory region.
numberNumber of elements in the queue.
sizeSize of every elements in words.

Typedef Documentation

typedef TaskHandle_t task_handler_t
typedef portSTACK_TYPE task_stack_t
typedef EventBits_t event_flags_t