XDK API  3.6.0
Documentation
Macros | Typedefs
PThreading.h File Reference
#include "FreeRTOS.h"
#include "FreeRTOSConfig.h"
#include "semphr.h"
#include "task.h"
+ Include dependency graph for PThreading.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define ENABLE_MUTEX   1
 
#define SERVAL_MUTEX_CREATE(mutex)   mutex = xSemaphoreCreateMutex()
 
#define SERVAL_MUTEX_DEBUG   1
 
#define SERVAL_MUTEX_EXTERN(mutex)   extern QueueHandle_t mutex
 
#define SERVAL_MUTEX_GET_ERROR_COUNT(mutex)   (0)
 
#define SERVAL_MUTEX_GET_SUM_ERROR_COUNT()   (0)
 
#define SERVAL_MUTEX_INIT()
 
#define SERVAL_MUTEX_INSTANCE(mutex)   QueueHandle_t mutex
 
#define SERVAL_MUTEX_IS_TRACE_LOCK()   (1)
 
#define SERVAL_MUTEX_LOCK(mutex)   xSemaphoreTake(mutex, portMAX_DELAY)
 
#define SERVAL_MUTEX_MODE_DISABLE   1
 
#define SERVAL_MUTEX_MODE_ENABLE   0
 
#define SERVAL_MUTEX_MODE_TEST   2
 
#define SERVAL_MUTEX_SET_MODE(mode)
 
#define SERVAL_MUTEX_SET_NO_TRACE(mutex, noTrace)
 
#define SERVAL_MUTEX_UNLOCK(mutex)   xSemaphoreGive(mutex)
 
#define SERVAL_SLEEP_MS(ms)   vTaskDelay((portTickType) ms / portTICK_RATE_MS)
 
#define SERVAL_THREAD_GET_ID()   (uint32_t)(0)
 

Typedefs

typedef void * SERVAL_THREAD_FUNC_PARAM_T
 
typedef void(* SERVAL_THREAD_FUNC_T )(void *)
 

Macro Definition Documentation

#define ENABLE_MUTEX   1
#define SERVAL_MUTEX_CREATE (   mutex)    mutex = xSemaphoreCreateMutex()
#define SERVAL_MUTEX_DEBUG   1
#define SERVAL_MUTEX_EXTERN (   mutex)    extern QueueHandle_t mutex
#define SERVAL_MUTEX_GET_ERROR_COUNT (   mutex)    (0)
#define SERVAL_MUTEX_GET_SUM_ERROR_COUNT ( )    (0)
#define SERVAL_MUTEX_INIT ( )
#define SERVAL_MUTEX_INSTANCE (   mutex)    QueueHandle_t mutex
#define SERVAL_MUTEX_IS_TRACE_LOCK ( )    (1)
#define SERVAL_MUTEX_LOCK (   mutex)    xSemaphoreTake(mutex, portMAX_DELAY)
#define SERVAL_MUTEX_MODE_DISABLE   1
#define SERVAL_MUTEX_MODE_ENABLE   0
#define SERVAL_MUTEX_MODE_TEST   2
#define SERVAL_MUTEX_SET_MODE (   mode)
#define SERVAL_MUTEX_SET_NO_TRACE (   mutex,
  noTrace 
)
#define SERVAL_MUTEX_UNLOCK (   mutex)    xSemaphoreGive(mutex)
#define SERVAL_SLEEP_MS (   ms)    vTaskDelay((portTickType) ms / portTICK_RATE_MS)
#define SERVAL_THREAD_GET_ID ( )    (uint32_t)(0)

Typedef Documentation

typedef void(* SERVAL_THREAD_FUNC_T)(void *)

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:49 by doxygen 1.8.8