FreeRTOS:
Platform
Platform portability layer
|
Return to main page ↑ |
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... | |
Opaque handles of the platform layer.
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 _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 _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
: