![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include "common.h"
Go to the source code of this file.
Functions | |
void * | os_wrapper_semaphore_create (uint32_t max_count, uint32_t initial_count, const char *name) |
Creates a new semaphore. More... | |
uint32_t | os_wrapper_semaphore_acquire (void *handle, uint32_t timeout) |
Acquires the semaphore. More... | |
uint32_t | os_wrapper_semaphore_release (void *handle) |
Releases the semaphore. More... | |
uint32_t | os_wrapper_semaphore_delete (void *handle) |
Deletes the semaphore. More... | |
uint32_t os_wrapper_semaphore_acquire | ( | void * | handle, |
uint32_t | timeout | ||
) |
Acquires the semaphore.
[in] | handle | Semaphore handle |
[in] | timeout | Timeout value |
Definition at line 43 of file os_wrapper_cmsis_rtos_v2.c.
void* os_wrapper_semaphore_create | ( | uint32_t | max_count, |
uint32_t | initial_count, | ||
const char * | name | ||
) |
Creates a new semaphore.
[in] | max_count | Highest count of the semaphore |
[in] | initial_count | Starting count of the available semaphore |
[in] | name | Name of the semaphore |
Definition at line 33 of file os_wrapper_cmsis_rtos_v2.c.
uint32_t os_wrapper_semaphore_delete | ( | void * | handle | ) |
Deletes the semaphore.
[in] | handle | Semaphore handle |
Definition at line 69 of file os_wrapper_cmsis_rtos_v2.c.
uint32_t os_wrapper_semaphore_release | ( | void * | handle | ) |
Releases the semaphore.
[in] | handle | Semaphore handle |
Definition at line 57 of file os_wrapper_cmsis_rtos_v2.c.