FreeRTOS: Platform
Platform portability layer
Return to main page ↑
Handles

Opaque handles of the platform layer. More...

Typedefs

typedef _IotSystemMutex_t IotMutex_t
 The type used to represent mutexes, configured with the type _IotSystemMutex_t. More...
 
typedef _IotSystemSemaphore_t IotSemaphore_t
 The type used to represent semaphores, configured with the type _IotSystemSemaphore_t. More...
 
typedef _IotSystemTimer_t IotTimer_t
 The type used to represent timers, configured with the type _IotSystemTimer_t. More...
 

Detailed Description

Opaque handles of the platform layer.

Typedef Documentation

◆ IotMutex_t

typedef _IotSystemMutex_t IotMutex_t

The type used to represent mutexes, configured with the type _IotSystemMutex_t.

_IotSystemMutex_t will be automatically configured during build and generally does not need to be defined.

Mutexes should only be released by the threads that take them.

Example
To change the type of IotMutex_t to long:

typedef long _IotSystemMutex_t;
#include "iot_threads.h"

◆ IotSemaphore_t

typedef _IotSystemSemaphore_t IotSemaphore_t

The type used to represent semaphores, configured with the type _IotSystemSemaphore_t.

_IotSystemSemaphore_t will be automatically configured during build and generally does not need to be defined.

Semaphores must be counting, and any thread may take (wait on) or release (post to) a semaphore.

Example
To change the type of IotSemaphore_t to long:

typedef long _IotSystemSemaphore_t;
#include "iot_threads.h"

◆ IotTimer_t

typedef _IotSystemTimer_t IotTimer_t

The type used to represent timers, configured with the type _IotSystemTimer_t.

_IotSystemTimer_t will be automatically configured during build and generally does not need to be defined.

Example
To change the type of IotTimer_t to long:

typedef long _IotSystemTimer_t;
#include "iot_clock.h"